summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-12-07 14:47:22 -0800
committerKevin McCarthy <kevin@8t8.us>2020-12-07 14:54:58 -0800
commita7b839e59c32f20daf2bd3737d70c851f5c9bf7d (patch)
tree20dc204c3dd85a8bd9ee3da325d78c5b1db1a83d /imap
parentb5ef1155371784f2410576049b54eec42252bfaf (diff)
Ensure idata->check_status is cleared on mailbox close.
I don't think this would cause any issues, but it should be cleared here in any case.
Diffstat (limited to 'imap')
-rw-r--r--imap/imap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/imap.c b/imap/imap.c
index b13dd54d..c0377f60 100644
--- a/imap/imap.c
+++ b/imap/imap.c
@@ -1719,6 +1719,7 @@ int imap_close_mailbox (CONTEXT* ctx)
idata->state = IMAP_AUTHENTICATED;
}
+ idata->check_status = 0;
idata->reopen = 0;
FREE (&(idata->mailbox));
mutt_free_list (&idata->flags);