diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-02-20 23:26:26 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-02-20 23:26:26 +0000 |
commit | 3b6af95e8db00d6dcd719de0a65253a1e4ea53ba (patch) | |
tree | 26acfa53d73d9ce771e4d553adbca59583b5f8e7 | |
parent | f672ee3316c18d1029104ce3242db5ba1d681313 (diff) | |
download | fetchmail-3b6af95e8db00d6dcd719de0a65253a1e4ea53ba.tar.gz fetchmail-3b6af95e8db00d6dcd719de0a65253a1e4ea53ba.tar.bz2 fetchmail-3b6af95e8db00d6dcd719de0a65253a1e4ea53ba.zip |
Add version number to -v output.
svn path=/trunk/; revision=906
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | fetchmail.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -9,6 +9,8 @@ features -- * Treat unexpected EOF as a protocol error. +* -v output now includes the version/pl numbers (help for harried maintainer!). + bugs -- * Fix password-shrouding logic so it doesn't crap out on a zero-length diff --git a/fetchmail.c b/fetchmail.c index bd31e0a0..859e438e 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -728,7 +728,8 @@ static int query_host(struct query *ctl) time_t now; time(&now); - fprintf(stderr, "Querying %s (protocol %s) at %s", + fprintf(stderr, "fetchmail: %s.%s querying %s (protocol %s) at %s", + RELEASE_ID, PATCHLEVEL, ctl->server.names->id, showproto(ctl->server.protocol), ctime(&now)); } switch (ctl->server.protocol) { |