diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-10-28 23:19:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-10-28 23:19:57 +0800 |
commit | b374485568249c439f17c64f40320902fab37123 (patch) | |
tree | 991927e93476349534812a030bd85823629e8bad /camel/providers | |
parent | 4c25f4bd9eb0460afd6cc6a92fd55206df14dc79 (diff) | |
download | gsoc2013-evolution-b374485568249c439f17c64f40320902fab37123.tar.gz gsoc2013-evolution-b374485568249c439f17c64f40320902fab37123.tar.zst gsoc2013-evolution-b374485568249c439f17c64f40320902fab37123.zip |
Properly tokenise "\*" as a flag token. Fixes bug #68869.
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.
svn path=/trunk/; revision=27758
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap4/camel-imap4-stream.c | 4 |
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); |