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

cras at dovecot.org cras at dovecot.org
Tue Jul 12 19:08:14 EEST 2005


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

Modified Files:
	imap-parser.h 
Log Message:
Removed ']' from atom-specials because our FETCH BODY[] handling fails
then..



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



More information about the dovecot-cvs mailing list