]> Pileus Git - ~andy/fetchmail/commitdiff
Logging improvements.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 21 Aug 1996 00:29:01 +0000 (00:29 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 21 Aug 1996 00:29:01 +0000 (00:29 -0000)
svn path=/trunk/; revision=52

fetchmail.c

index d2556277b25ed61f8fcea1a80767759f9ad06691..b9391d151f5afc2e0aa0f67cc929376aaf12456f 100644 (file)
@@ -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));