[dovecot-cvs] dovecot/src/imap cmd-store.c,1.28,1.29

cras at dovecot.org cras at dovecot.org
Mon Jan 10 19:37:23 EET 2005


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

Modified Files:
	cmd-store.c 
Log Message:
Keyword fixes.



Index: cmd-store.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-store.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- cmd-store.c	26 Dec 2004 09:12:40 -0000	1.28
+++ cmd-store.c	10 Jan 2005 17:37:20 -0000	1.29
@@ -85,8 +85,8 @@
 		return TRUE;
 
 	t = mailbox_transaction_begin(box, silent);
-	keywords = keywords_list == NULL ? NULL :
-		mailbox_keywords_create(t, keywords_list);
+	keywords = keywords_list != NULL || modify_type == MODIFY_REPLACE ?
+		mailbox_keywords_create(t, keywords_list) : NULL;
 	search_ctx = mailbox_search_init(t, NULL, search_arg, NULL,
 					 MAIL_FETCH_FLAGS, NULL);
 



More information about the dovecot-cvs mailing list