changeset 3487:249a15abd572 HEAD

Removed ']' from atom-specials because our FETCH BODY[] handling fails then..
author Timo Sirainen <tss@iki.fi>
date Tue, 12 Jul 2005 19:08:11 +0300
parents a511aa565020
children f9a0db1ac3e8
files src/lib-imap/imap-parser.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-imap/imap-parser.h	Tue Jul 12 18:54:26 2005 +0300
+++ b/src/lib-imap/imap-parser.h	Tue Jul 12 19:08:11 2005 +0300
@@ -1,9 +1,11 @@
 #ifndef __IMAP_PARSER_H
 #define __IMAP_PARSER_H
 
+/* FIXME: we don't have ']' here due to FETCH BODY[] handling failing
+   with it.. */
 #define IS_ATOM_SPECIAL(c) \
 	((c) == '(' || (c) == ')' || (c) == '{' || (c) == '%' || (c) == '*' || \
-	 (c) == '"' || (c) == '\\' || (c) == ']' || (c) <= 32 || (c) == 0x7f)
+	 (c) == '"' || (c) == '\\' || (c) <= 32 || (c) == 0x7f)
 
 enum imap_parser_flags {
 	/* Set this flag if you wish to read only size of literal argument