aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-06 08:39:15 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-06 08:39:15 +0000
commita128f9915a67be766354e48b56b6b4e1644043be (patch)
tree748cfb76e0ce6383afb6b5bc4f8e36c05c9f0c9c /driver.c
parentfbcc3b261d5352b71d58e08768fea8a3b6506071 (diff)
downloadfetchmail-a128f9915a67be766354e48b56b6b4e1644043be.tar.gz
fetchmail-a128f9915a67be766354e48b56b6b4e1644043be.tar.bz2
fetchmail-a128f9915a67be766354e48b56b6b4e1644043be.zip
Silence killed!
svn path=/trunk/; revision=1480
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 6a8b4813..bcbe4fb3 100644
--- a/driver.c
+++ b/driver.c
@@ -1647,9 +1647,12 @@ const struct method *proto; /* protocol method table */
/* these are pointless in normal daemon mode */
if (pass == 1 && (poll_interval == 0 || outlevel == O_VERBOSE))
error(0, 0, "No mail at %s", buf);
- break;
}
+ /* very important, this is where we leave the do loop */
+ if (count == 0)
+ break;
+
if (check_only)
{
if (new == -1 || ctl->fetchall)