diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-04-06 21:42:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-04-06 21:42:00 +0000 |
commit | cc7773d1d114ba7b8846a8c9c508f89cb6012700 (patch) | |
tree | 766975bb36cd88f0ffee995eb664ad5247c0368c /fetchmail.c | |
parent | 3c9b31ad837bed8e9c556107f77b5ad96be1a4d1 (diff) | |
download | fetchmail-cc7773d1d114ba7b8846a8c9c508f89cb6012700.tar.gz fetchmail-cc7773d1d114ba7b8846a8c9c508f89cb6012700.tar.bz2 fetchmail-cc7773d1d114ba7b8846a8c9c508f89cb6012700.zip |
Better error logging.
svn path=/trunk/; revision=954
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fetchmail.c b/fetchmail.c index ea5888ce..700b9bab 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -155,7 +155,7 @@ int main (int argc, char **argv) setvbuf(stdout, NULL, _IOLBF, POPBUFSIZE); if (versioninfo) - printf("This is fetchmail release %s pl %s\n", RELEASE_ID, PATCHLEVEL); + printf("This is fetchmail release %s\n", RELEASE_ID); /* avoid parsing the config file if all we're doing is killing a daemon */ if (!quitmode) @@ -330,7 +330,7 @@ int main (int argc, char **argv) { if (!nodetach) daemonize(logfile, termhook); - error( 0, 0, "starting fetchmail %s.%s daemon ", RELEASE_ID, PATCHLEVEL); + error( 0, 0, "starting fetchmail %s daemon ", RELEASE_ID); } /* beyond here we don't want more than one fetchmail running per user */ @@ -738,8 +738,8 @@ static int query_host(struct query *ctl) time_t now; time(&now); - fprintf(stderr, "fetchmail: %s.%s querying %s (protocol %s) at %s", - RELEASE_ID, PATCHLEVEL, + fprintf(stderr, "fetchmail: %s querying %s (protocol %s) at %s", + RELEASE_ID, ctl->server.names->id, showproto(ctl->server.protocol), ctime(&now)); } switch (ctl->server.protocol) { |