aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap4/camel-imap4-stream.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d3c7904bef..0492cd5b03 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2004-10-28 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/imap4/camel-imap4-stream.c
+ (camel_imap4_stream_next_token): Properly tokenise "\*" as a flag
+ token. Fixes bug #68869.
+
2004-10-21 Björn Torkelsson <torkel@acc.umu.se>
* camel-sasl-kerberos4.c: #include "camel-i18n.h"
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);