--- kfinger/finger.C.orig	Thu Aug 12 20:01:29 1999
+++ kfinger/finger.C	Tue Aug 24 04:27:09 1999
@@ -13,10 +13,10 @@
 */
 #include <netdb.h>
 #include <sys/types.h>
+#include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/resource.h>
 #include <stdlib.h>
-#include <sys/time.h>
 #include <fcntl.h>
 #include <kapp.h>
 #include "finger.h"
@@ -138,7 +138,7 @@
     unsigned int len;
 
     char    val=0; 
-    getsockopt(sock,SOL_SOCKET,SO_ERROR,(void*)&val,&len );                   
+    getsockopt(sock,SOL_SOCKET,SO_ERROR,(void*)&val,(int*)&len );                   
     //warning("error %d ",val);
     if(val==0)  
 	write(sock,st,strlen(st));
