aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--driver.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index bb18a43a..1bcec69b 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,7 @@ fetchmail-4.3.2 ()
* Yet another attempt to fix IMAP-K4. This one, my beta-testers say, works.
* Only re-poll on actual dispatches (not just fetches).
* kwrohrer's patch for interface option on newer Linux kernels.
+* Handle repolling multiple folders correctly.
There are 262 people on fetchmail-friends and 54 on fetchmail-announce.
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;