aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c9
-rw-r--r--fetchmail.h2
2 files changed, 5 insertions, 6 deletions
diff --git a/driver.c b/driver.c
index 0336af84..2bd471e9 100644
--- a/driver.c
+++ b/driver.c
@@ -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