diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-17 14:58:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-17 14:58:12 +0000 |
commit | a7eac6c4eb4ede70584faa0995abe25d51129fdd (patch) | |
tree | 2b479114cb0fa75f56158d4075b4bd98e77b5b6e /driver.c | |
parent | c30cc2b21a6b9c7ed6b5296ffbf26821a9ac51ca (diff) | |
download | fetchmail-a7eac6c4eb4ede70584faa0995abe25d51129fdd.tar.gz fetchmail-a7eac6c4eb4ede70584faa0995abe25d51129fdd.tar.bz2 fetchmail-a7eac6c4eb4ede70584faa0995abe25d51129fdd.zip |
Message and documentation cleanup.
svn path=/trunk/; revision=342
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,6 +41,7 @@ static struct method *protocol; static int alarmed; /* a flag to indicate that SIGALRM happened */ static int mytimeout; /* server-nonresponse timeout for current query */ +static char *srvname; /* current server name for timeout message */ char tag[TAGLEN]; static int tagnum; @@ -588,6 +589,7 @@ struct method *proto; void (*sigsave)(); int num, count, deletions = 0; + srvname = queryctl->servername; alarmed = 0; sigsave = signal(SIGALRM, alarm_handler); alarm (mytimeout = queryctl->timeout); @@ -971,5 +973,6 @@ alarm_handler (int signal) { alarmed = 1; fprintf(stderr, - "fetchmail: timeout after %d seconds.\n", mytimeout); + "fetchmail: timeout after %d seconds waiting for %s.\n", + mytimeout, srvname); } |