[dovecot-cvs] dovecot/src/lib-imap imap-parser.h,1.7,1.8

cras at procontrol.fi cras at procontrol.fi
Thu Jan 2 10:13:26 EET 2003


Update of /home/cvs/dovecot/src/lib-imap
In directory danu:/tmp/cvs-serv538/lib-imap

Modified Files:
	imap-parser.h 
Log Message:
Actually, don't allow NIL with IMAP_ARG_LIST().



Index: imap-parser.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-parser.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- imap-parser.h	2 Jan 2003 08:09:27 -0000	1.7
+++ imap-parser.h	2 Jan 2003 08:13:24 -0000	1.8
@@ -46,8 +46,7 @@
 	 (arg)->_data.literal_size : _imap_arg_literal_size_error(arg))
 
 #define IMAP_ARG_LIST(arg) \
-	((arg)->type == IMAP_ARG_NIL ? NULL : \
-	 (arg)->type == IMAP_ARG_LIST ? \
+	((arg)->type == IMAP_ARG_LIST ? \
 	 (arg)->_data.list : _imap_arg_list_error(arg))
 
 struct _ImapArgList {




More information about the dovecot-cvs mailing list