From c38c0dae2627bd38e9a9fb8856493280b3cd2c9a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 20 Oct 1997 15:05:17 +0000 Subject: Handle repolling multiple folders correctly. svn path=/trunk/; revision=1524 --- NEWS | 1 + driver.c | 1 + 2 files changed, 2 insertions(+) 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; -- cgit v1.2.3