From: Kevin McCarthy Date: Fri, 22 Sep 2017 18:14:27 +0000 (-0700) Subject: Add missing IMAP_CMD_POLL flag in imap buffy check. X-Git-Tag: mutt-1-9-1-rel~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c96106552708c817ed2670ab3c65e8c8a8be30c;p=mutt Add missing IMAP_CMD_POLL flag in imap buffy check. I missed adding the flag to one of the imap_exec() calls inside the loop, when a different server is encountered in the mailboxes list. --- diff --git a/imap/imap.c b/imap/imap.c index e81de863..0bb2d5f8 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1619,7 +1619,7 @@ int imap_buffy_check (int force, int check_stats) { /* Send commands to previous server. Sorting the buffy list * may prevent some infelicitous interleavings */ - if (imap_exec (lastdata, NULL, IMAP_CMD_FAIL_OK) == -1) + if (imap_exec (lastdata, NULL, IMAP_CMD_FAIL_OK | IMAP_CMD_POLL) == -1) dprint (1, (debugfile, "Error polling mailboxes\n")); lastdata = NULL;