changeset 3488:f9a0db1ac3e8 HEAD

And removed the other added atom-specials as well..
author Timo Sirainen <tss@iki.fi>
date Tue, 12 Jul 2005 19:09:25 +0300
parents 249a15abd572
children 16db33dd1bfd
files src/lib-imap/imap-parser.h
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-imap/imap-parser.h	Tue Jul 12 19:08:11 2005 +0300
+++ b/src/lib-imap/imap-parser.h	Tue Jul 12 19:09:25 2005 +0300
@@ -2,10 +2,11 @@
 #define __IMAP_PARSER_H
 
 /* FIXME: we don't have ']' here due to FETCH BODY[] handling failing
-   with it.. */
+   with it.. also '%' and '*' are banned due to LIST, and '\' due to it being
+   in flags. oh well.. */
 #define IS_ATOM_SPECIAL(c) \
-	((c) == '(' || (c) == ')' || (c) == '{' || (c) == '%' || (c) == '*' || \
-	 (c) == '"' || (c) == '\\' || (c) <= 32 || (c) == 0x7f)
+	((c) == '(' || (c) == ')' || (c) == '{' || \
+	 (c) == '"' || (c) <= 32 || (c) == 0x7f)
 
 enum imap_parser_flags {
 	/* Set this flag if you wish to read only size of literal argument