diff options
author | Kevin McCarthy <kevin@8t8.us> | 2021-12-07 14:46:12 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2021-12-07 14:46:12 -0800 |
commit | ac348e1959cf04e274ca451781e9cfef366d1bc4 (patch) | |
tree | bf90d6e4751178b3f7a98ec971b958df8a3eb0a8 | |
parent | 9dbde32c5f9437e30e877df0b6a99ab1bb050410 (diff) | |
parent | cc117960fddcd0193ca148927594e1e368cbd745 (diff) |
Merge branch 'stable'
-rw-r--r-- | imap/imap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/imap/imap.c b/imap/imap.c index 14407b0f..412fe83a 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -869,7 +869,9 @@ static int imap_open_mailbox (CONTEXT* ctx) if ((rc = imap_cmd_step (idata)) != IMAP_CMD_CONTINUE) break; - pc = idata->buf + 2; + if (ascii_strncmp (idata->buf, "* ", 2)) + continue; + pc = imap_next_word (idata->buf); /* Obtain list of available flags here, may be overridden by a * PERMANENTFLAGS tag in the OK response */ |