From a7eac6c4eb4ede70584faa0995abe25d51129fdd Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 17 Oct 1996 14:58:12 +0000 Subject: Message and documentation cleanup. svn path=/trunk/; revision=342 --- fetchmail.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'fetchmail.c') 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); -- cgit v1.2.3