]> Pileus Git - ~andy/fetchmail/blobdiff - etrn.c
Fix typo repsonsible -> responsible.
[~andy/fetchmail] / etrn.c
diff --git a/etrn.c b/etrn.c
index 2744160401ef0c5b006d6e51cdee89fa26947ba7..24c532d306607967af0c7dd47ea1128ac1b09988 100644 (file)
--- a/etrn.c
+++ b/etrn.c
@@ -9,13 +9,10 @@
 #include  <stdio.h>
 #include  <stdlib.h>
 #include  <assert.h>
-#ifdef HAVE_NET_SOCKET_H /* BeOS needs this */
-#include <net/socket.h>
-#endif
 #include  <netdb.h>
 #include  <errno.h>
 #include  <unistd.h>
-#include  "i18n.h"
+#include  "gettext.h"
 #include  "fetchmail.h"
 #include  "smtp.h"
 #include  "socket.h"
@@ -26,7 +23,7 @@ static int etrn_ok (int sock, char *argbuf)
     int ok;
 
     (void)argbuf;
-    ok = SMTP_ok(sock, SMTP_MODE);
+    ok = SMTP_ok(sock, SMTP_MODE, TIMEOUT_DEFAULT);
     if (ok == SM_UNRECOVERABLE)
        return(PS_PROTOCOL);
     else