aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c14
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);