[dovecot-cvs] dovecot/src/lib-imap imap-parser.h,1.17,1.18

cras at dovecot.org cras at dovecot.org
Tue Jul 12 19:09:28 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib-imap
In directory talvi:/tmp/cvs-serv3581/lib-imap

Modified Files:
	imap-parser.h 
Log Message:
And removed the other added atom-specials as well..



Index: imap-parser.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-parser.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- imap-parser.h	12 Jul 2005 16:08:11 -0000	1.17
+++ imap-parser.h	12 Jul 2005 16:09:25 -0000	1.18
@@ -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



More information about the dovecot-cvs mailing list