]> granicus.if.org Git - neomutt/commit
imap: fixing race when syncing mailbox
authorMehdi Abaakouk <sileht@sileht.net>
Wed, 24 Apr 2019 14:34:35 +0000 (16:34 +0200)
committerRichard Russon <rich@flatcap.org>
Wed, 24 Apr 2019 15:06:36 +0000 (16:06 +0100)
commit60270c9fa8c50fd5a23250dfe6b59a0c88c4c2c3
treef9724c3f214763a948885050217a6bc93050131a
parent710bcd8acdecc22bb76c4c9af710fa1045999c8a
imap: fixing race when syncing mailbox

imap_check_mailbox return an detailled state not only 0/-1.

imap_sync_mailbox assumes that the function was returning only 0/-1.

This change fixes that.
imap/imap.c