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 /fetchmail.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 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fetchmail.c b/fetchmail.c index 4257562c..2c204a9e 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -104,7 +104,7 @@ char **argv; } else { - fprintf(stderr,"I can't find your name and home directory!\n"); + fprintf(stderr,"fetchmail: can't find your name and home directory!\n"); exit(PS_UNDEFINED); } } @@ -408,7 +408,8 @@ char **argv; * reflect the status of that transaction. */ do { - for (hostp = hostlist; hostp; hostp = hostp->next) { + for (hostp = hostlist; hostp; hostp = hostp->next) + { if (hostp->active && !(implicitmode && hostp->skip)) { popstatus = query_host(hostp); @@ -416,12 +417,13 @@ char **argv; } } - sleep(poll_interval); + if (sleep(poll_interval)) + (void) fputs("fetchmail: awakened by SIGHUP\n", stderr); } while (poll_interval); if (outlevel == O_VERBOSE) - fprintf(stderr, "normal termination, status %d\n", popstatus); + fprintf(stderr, "fetchmail: normal termination, status %d\n", popstatus); termhook(0); exit(popstatus); |