From cc7773d1d114ba7b8846a8c9c508f89cb6012700 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 6 Apr 1997 21:42:00 +0000 Subject: Better error logging. svn path=/trunk/; revision=954 --- fetchmail.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fetchmail.c') 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) { -- cgit v1.2.3