aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-20 15:05:17 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-20 15:05:17 +0000
commitc38c0dae2627bd38e9a9fb8856493280b3cd2c9a (patch)
treea675b4c4c992f2d83f2962c3f3f6e0cdf663a5fd /driver.c
parentee8b3e0af473a1efa48e5e8a009dde0baef50d9f (diff)
downloadfetchmail-c38c0dae2627bd38e9a9fb8856493280b3cd2c9a.tar.gz
fetchmail-c38c0dae2627bd38e9a9fb8856493280b3cd2c9a.tar.bz2
fetchmail-c38c0dae2627bd38e9a9fb8856493280b3cd2c9a.zip
Handle repolling multiple folders correctly.
svn path=/trunk/; revision=1524
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 40601b0a..2c3b9a2c 100644
--- a/driver.c
+++ b/driver.c
@@ -1556,6 +1556,7 @@ const struct method *proto; /* protocol method table */
/* now iterate over each folder selected */
for (idp = ctl->mailboxes; idp; idp = idp->next)
{
+ pass = 0;
do {
dispatches = 0;
++pass;