aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-09-25 21:55:03 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-09-25 21:55:03 +0000
commit9369c33a89a3ee0e8186d155c8ee52b1a7219eb3 (patch)
treeb85142a1f8990b7b3138209b0218cadad7a3f2c7
parente20b2d7f3647d1dbe186b06f7e689c530a6f8cd5 (diff)
downloadfetchmail-9369c33a89a3ee0e8186d155c8ee52b1a7219eb3.tar.gz
fetchmail-9369c33a89a3ee0e8186d155c8ee52b1a7219eb3.tar.bz2
fetchmail-9369c33a89a3ee0e8186d155c8ee52b1a7219eb3.zip
When going to sleep, log for how long.
svn path=/branches/BRANCH_6-3/; revision=4910
-rw-r--r--NEWS1
-rw-r--r--fetchmail.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index b0051b50..8e047400 100644
--- a/NEWS
+++ b/NEWS
@@ -131,6 +131,7 @@ fetchmail 6.3.5 (not yet released):
Götz 'nimrill' Babin-Ebell, BerliOS patch #1095 with minor changes.
* The sslproto keywords are now case insensitive, courtesy of
Götz 'nimrill' Babin-Ebell, BerliOS patch #1095.
+* When going to sleep, log for how long. Suggested by Claudia Ludwig.
# TRANSLATION UPDATES:
* Catalan/ca (Ernest Adrogué Calveras), Japanese/ja (Takeshi Hamasaki) - also
diff --git a/fetchmail.c b/fetchmail.c
index 4657e913..38029b20 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -810,8 +810,8 @@ int main(int argc, char **argv)
}
if (outlevel > O_SILENT)
- report(stdout,
- GT_("sleeping at %s\n"), timestamp());
+ report(stdout,
+ GT_("sleeping at %s for %d seconds\n"), timestamp(), run.poll_interval);
/*
* With this simple hack, we make it possible for a foreground