*
*/
+#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
-#include <stdio.h>
#ifdef KERBEROS
#define POP_SERVICE "pop"
#ifdef KRB4
return(NOTOK);
}
- if (connect(s, (char *)&sin, sizeof sin) < 0) {
+ if (connect(s, (struct sockaddr *)&sin, sizeof sin) < 0) {
sprintf(Errmsg, "error during connect: %s", get_errmsg());
close(s);
return(NOTOK);