aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap4')
-rw-r--r--camel/providers/imap4/camel-imap4-stream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/providers/imap4/camel-imap4-stream.c b/camel/providers/imap4/camel-imap4-stream.c
index f26c3c12b7..629a86f7d8 100644
--- a/camel/providers/imap4/camel-imap4-stream.c
+++ b/camel/providers/imap4/camel-imap4-stream.c
@@ -533,6 +533,10 @@ camel_imap4_stream_next_token (CamelIMAP4Stream *stream, camel_imap4_token_t *to
goto refill;
}
+ /* handle the \* case */
+ if ((inptr - start) == 1 && *inptr == '*')
+ inptr++;
+
if ((inptr - start) > 1) {
token_save (stream, start, inptr - start);