[dovecot-cvs] dovecot/src/pop3 commands.c,1.42,1.43

cras at dovecot.org cras at dovecot.org
Mon May 23 18:16:57 EEST 2005


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv11132

Modified Files:
	commands.c 
Log Message:
RSET command wasn't working right



Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- commands.c	14 May 2005 20:32:08 -0000	1.42
+++ commands.c	23 May 2005 15:16:55 -0000	1.43
@@ -445,8 +445,8 @@
 						 &search_arg, NULL);
 		mail = mail_alloc(client->trans, 0, NULL);
 		while (mailbox_search_next(search_ctx, mail) > 0) {
-			if (mail_update_flags(mail, MAIL_SEEN,
-					      MODIFY_REMOVE) < 0)
+			if (mail_update_flags(mail, MODIFY_REMOVE,
+					      MAIL_SEEN) < 0)
 				break;
 		}
 		mail_free(mail);



More information about the dovecot-cvs mailing list