From 3aa5ab52da6ece0a1a5d4d613639a8dbe5d7090d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 30 Oct 1998 15:11:46 +0000 Subject: Rationalized timestamps. svn path=/trunk/; revision=2155 --- fetchmail.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 4923ecea..9a05dc82 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -600,12 +600,7 @@ int main (int argc, char **argv) } if (outlevel >= O_VERBOSE) - { - time_t now; - - time(&now); - error(0, -1, "fetchmail: sleeping at %s", ctime(&now)); - } + error(0, -1, "fetchmail: sleeping at %s", rfc822timestamp()); /* * With this simple hack, we make it possible for a foreground @@ -712,12 +707,7 @@ int main (int argc, char **argv) signal(SIGHUP, SIG_IGN); if (outlevel >= O_VERBOSE) - { - time_t now; - - time(&now); - error(0, -1, "awakened at %s", ctime(&now)); - } + error(0, -1, "awakened at %s", rfc822timestamp()); } } while (run.poll_interval); -- cgit v1.2.3