aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-08-21 00:29:01 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-08-21 00:29:01 +0000
commit003506d4b8fe3b92922518e005268325c72d61d7 (patch)
treebe01028cbf4ee15f47aa0afb312f082d9e6f5e16
parent1817702a538df32505910b1f9468880bbea0a531 (diff)
downloadfetchmail-003506d4b8fe3b92922518e005268325c72d61d7.tar.gz
fetchmail-003506d4b8fe3b92922518e005268325c72d61d7.tar.bz2
fetchmail-003506d4b8fe3b92922518e005268325c72d61d7.zip
Logging improvements.
svn path=/trunk/; revision=52
-rw-r--r--fetchmail.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index d2556277..b9391d15 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -240,7 +240,13 @@ int query_host(queryctl)
struct hostrec *queryctl;
{
if (outlevel != O_SILENT)
- fprintf(stderr, "popclient: querying %s\n", queryctl->servername);
+ {
+ time_t now;
+
+ time(&now);
+ fprintf(stderr, "popclient: querying %s at %s",
+ queryctl->servername, ctime(&now));
+ }
switch (queryctl->protocol) {
case P_POP2:
return(doPOP2(queryctl));