diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-09 16:10:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-09 16:10:58 +0000 |
commit | 15722ba3948b9c8b86eca5c43fcb590305d83865 (patch) | |
tree | 93fb646bc492bd7fcb3e73ea62c4fa17e72ee68d | |
parent | 1413fd46bcbd4a05c3e46113fbd7ae11b3d4a40a (diff) | |
download | fetchmail-15722ba3948b9c8b86eca5c43fcb590305d83865.tar.gz fetchmail-15722ba3948b9c8b86eca5c43fcb590305d83865.tar.bz2 fetchmail-15722ba3948b9c8b86eca5c43fcb590305d83865.zip |
Put timeout default in configuration file.
svn path=/trunk/; revision=261
-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 |