aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-29 09:49:44 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-29 09:49:44 +0000
commitff4d046f39e3ed641bc5d9925f61d48010c56bfb (patch)
tree66a8dc42dcd814427ac00ae5c155b00c7ec0a6ae /fetchmail.c
parenta81fbf21d9da4b643125eef4c2353529839331cb (diff)
downloadfetchmail-ff4d046f39e3ed641bc5d9925f61d48010c56bfb.tar.gz
fetchmail-ff4d046f39e3ed641bc5d9925f61d48010c56bfb.tar.bz2
fetchmail-ff4d046f39e3ed641bc5d9925f61d48010c56bfb.zip
After George Sipe's changes.
svn path=/trunk/; revision=704
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 7952523d..846c4ae7 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -169,7 +169,7 @@ int main (int argc, char **argv)
printf("No SMTP message batch limit.\n");
#ifdef linux
if (interface)
- printf("TCP/IP interface requirements are %s.\n", interface);
+ printf("TCP/IP interface requirements for %s.\n", interface);
else if (outlevel == O_VERBOSE)
printf("No TCP/IP interface requirements specified.\n");
if (monitor)
@@ -335,15 +335,19 @@ int main (int argc, char **argv)
* reflect the status of that transaction.
*/
do {
-#ifdef linux
- if (poll_interval && monitor)
- sleep(3); /* allow some time for the link to quiesce */
-
- interface_note_activity();
-#endif
-
if (poll_interval)
{
+#ifdef linux
+ if (monitor)
+ {
+ /*
+ * Allow some time for the link to quiesce.
+ * Note: this delay is important! Don't remove it casually!
+ */
+ sleep(3);
+ interface_note_activity();
+ }
+#endif
if (outlevel == O_VERBOSE)
{
time_t now;