[dovecot-cvs] dovecot/src/imap imap-search.c,1.7,1.8

cras at dovecot.org cras at dovecot.org
Sun Dec 19 07:11:08 EET 2004


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

Modified Files:
	imap-search.c 
Log Message:
SEARCH UNKEYWORD wasn't working.



Index: imap-search.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-search.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- imap-search.c	15 Aug 2004 03:40:30 -0000	1.7
+++ imap-search.c	19 Dec 2004 05:11:05 -0000	1.8
@@ -353,7 +353,8 @@
 			(*next_sarg)->not = TRUE;
 			return TRUE;
 		} else if (strcmp(str, "UNKEYWORD") == 0) {
-			if (!ARG_NEW_FLAG(SEARCH_KEYWORD))
+			/* <flag> */
+			if (!ARG_NEW(SEARCH_KEYWORD))
 				return FALSE;
 			(*next_sarg)->not = TRUE;
 			return TRUE;



More information about the dovecot-cvs mailing list