X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=etrn.c;h=24c532d306607967af0c7dd47ea1128ac1b09988;hb=98cfcef26048bba06975e68a1aad05a8bac0d65d;hp=2744160401ef0c5b006d6e51cdee89fa26947ba7;hpb=d57b00768a8fa44d1e1c5f758440edabfa488baf;p=~andy%2Ffetchmail diff --git a/etrn.c b/etrn.c index 27441604..24c532d3 100644 --- a/etrn.c +++ b/etrn.c @@ -9,13 +9,10 @@ #include #include #include -#ifdef HAVE_NET_SOCKET_H /* BeOS needs this */ -#include -#endif #include #include #include -#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