diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-10-30 15:11:46 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-10-30 15:11:46 +0000 |
commit | 3aa5ab52da6ece0a1a5d4d613639a8dbe5d7090d (patch) | |
tree | fc586b4a81932419219c74f6f3d647229e908c18 /fetchmail.c | |
parent | 24c53bd6db1ef6763f0010552f1bee07abd4916a (diff) | |
download | fetchmail-3aa5ab52da6ece0a1a5d4d613639a8dbe5d7090d.tar.gz fetchmail-3aa5ab52da6ece0a1a5d4d613639a8dbe5d7090d.tar.bz2 fetchmail-3aa5ab52da6ece0a1a5d4d613639a8dbe5d7090d.zip |
Rationalized timestamps.
svn path=/trunk/; revision=2155
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 14 |
1 files changed, 2 insertions, 12 deletions
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); |