diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-09-21 08:43:37 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-09-21 08:43:37 +0000 |
commit | 2bc457aff6736542213099798051cddb99980f83 (patch) | |
tree | 1d51be0ba6079abd985113d2f05ab8f2d31e54b3 /driver.c | |
parent | a8d1ade70d438ec53966338ce2355c38c7991ab1 (diff) | |
download | fetchmail-2bc457aff6736542213099798051cddb99980f83.tar.gz fetchmail-2bc457aff6736542213099798051cddb99980f83.tar.bz2 fetchmail-2bc457aff6736542213099798051cddb99980f83.zip |
Expunge between IMAP folders when polling multiple folders. Sunil Shetye.
Fix IMAP expunged message counting. Sunil Shetye.
svn path=/trunk/; revision=4301
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1424,6 +1424,14 @@ is restored.")); send_size_warnings(ctl); } } + + /* 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) + goto cleanUp; + } } while /* * Only re-poll if we either had some actual forwards and |