diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-06-12 20:08:05 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-06-12 20:08:05 +0000 |
commit | c532788db43d3b8bac1e2732db59f3d9b391fcc1 (patch) | |
tree | b05a92436f775833f2a4f746f716c977397c9434 | |
parent | feaaa0019b81400e351029fd5fe3bd156395d9b3 (diff) | |
download | fetchmail-c532788db43d3b8bac1e2732db59f3d9b391fcc1.tar.gz fetchmail-c532788db43d3b8bac1e2732db59f3d9b391fcc1.tar.bz2 fetchmail-c532788db43d3b8bac1e2732db59f3d9b391fcc1.zip |
Move some global data where it belongs.
svn path=/trunk/; revision=3348
-rw-r--r-- | driver.c | 6 | ||||
-rw-r--r-- | transact.c | 5 |
2 files changed, 6 insertions, 5 deletions
@@ -48,6 +48,12 @@ #define THROW_TIMEOUT 1 /* server timed out */ #define THROW_SIGPIPE 2 /* SIGPIPE on stream socket */ +int pass; /* how many times have we re-polled? */ +int stage; /* where are we? */ +int phase; /* where are we, for error-logging purposes? */ +int batchcount; /* count of messages sent in current batch */ +flag peek_capable; /* can we peek for better error recovery? */ + static int timeoutcount; /* count consecutive timeouts */ static jmp_buf restart; @@ -37,11 +37,6 @@ extern char *strstr(); /* needed on sysV68 R3V7.1. */ #endif /* strstr */ -int batchcount; /* count of messages sent in current batch */ -flag peek_capable; /* can we peek for better error recovery? */ -int pass; /* how many times have we re-polled? */ -int stage; /* where are we? */ -int phase; /* where are we, for error-logging purposes? */ int mytimeout; /* value of nonreponse timeout */ int suppress_tags; /* emit tags? */ char shroud[PASSWORDLEN]; /* string to shroud in debug output */ |