diff options
-rw-r--r-- | driver.c | 9 | ||||
-rw-r--r-- | fetchmail.h | 2 |
2 files changed, 5 insertions, 6 deletions
@@ -25,15 +25,12 @@ #include "fetchmail.h" #include "smtp.h" +#define SMTP_PORT 25 /* standard SMTP service port */ + static struct method *protocol; static int alarmed; /* A flag to indicate that SIGALRM happened */ - -int timeout=300; /* Wake up from idle state */ -void alarm_handler(); - - -#define SMTP_PORT 25 /* standard SMTP service port */ +int timeout = CLIENT_TIMEOUT; char tag[TAGLEN]; static int tagnum; diff --git a/fetchmail.h b/fetchmail.h index ef9d8b55..364c8bf9 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -142,5 +142,7 @@ void optmerge(); #endif +void alarm_handler(); + #define FALSE 0 #define TRUE 1 |