[dovecot-cvs] dovecot/src/pop3 commands.c,1.38,1.39

cras at dovecot.org cras at dovecot.org
Sat Jan 22 18:41:57 EET 2005


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

Modified Files:
	commands.c 
Log Message:
\Seen flag wasn't actually being set with RETR.



Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- commands.c	26 Dec 2004 09:12:46 -0000	1.38
+++ commands.c	22 Jan 2005 16:41:55 -0000	1.39
@@ -365,7 +365,7 @@
 	if (body_lines == (uoff_t)-1 && !no_flag_updates) {
 		if ((mail->get_flags(mail) & MAIL_SEEN) == 0) {
 			/* mark the message seen with RETR command */
-			(void)mail->update_flags(mail, MAIL_SEEN, MODIFY_ADD);
+			(void)mail->update_flags(mail, MODIFY_ADD, MAIL_SEEN);
 		}
 	}
 



More information about the dovecot-cvs mailing list