summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-12-07 13:18:16 -0800
committerKevin McCarthy <kevin@8t8.us>2020-12-07 13:18:16 -0800
commit8a34338ad1d42a1e4edb47e6ad6bf4f44450b75c (patch)
tree8a1f35ed9dea08944261e646efc3cebe2153327f /imap
parent59dc711feb2bd54fc90fbb93863a55e81778d314 (diff)
parentb5ef1155371784f2410576049b54eec42252bfaf (diff)
Merge branch 'stable'
Diffstat (limited to 'imap')
-rw-r--r--imap/message.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/imap/message.c b/imap/message.c
index 57c43dbb..fc167b77 100644
--- a/imap/message.c
+++ b/imap/message.c
@@ -671,6 +671,9 @@ static int read_headers_condstore_qresync_updates (IMAP_DATA *idata,
imap_hcache_put (idata, idata->msn_index[header_msn - 1]);
}
+ if (rc != IMAP_CMD_OK)
+ return -1;
+
/* The IMAP flag setting as part of cmd_parse_fetch() ends up
* flipping these on. */
idata->check_status &= ~IMAP_FLAGS_PENDING;