diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | driver.c | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -44,6 +44,10 @@ be removed from a 6.4.0 or newer release.) fetchmail 6.3.10 (not yet released): +# BUGFIXES +* Do not lose PS_MAXFETCH (13) exit status when hitting maxpoll. Reported by + Michelle Konzack, Debian Bug#508667. + # TRANSLATION UPDATES AND ADDITIONS (ordered by language name): * [it] Italian (Vincenzo Campanella) @@ -1435,9 +1435,11 @@ is restored.")); /* end-of-mailbox processing before we repoll or switch to another one */ if (ctl->server.base_protocol->end_mailbox_poll) { - err = (ctl->server.base_protocol->end_mailbox_poll)(mailserver_socket, ctl); - if (err) + tmperr = (ctl->server.base_protocol->end_mailbox_poll)(mailserver_socket, ctl); + if (tmperr) { + err = tmperr; goto cleanUp; + } } /* Return now if we have reached the fetchlimit */ if (maxfetch && maxfetch <= fetches) |