[dovecot-cvs] dovecot/src/imap imap-fetch.c,1.33,1.34
cras at dovecot.org
cras at dovecot.org
Sun Jan 16 18:59:41 EET 2005
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv1674/imap
Modified Files:
imap-fetch.c
Log Message:
FETCH BODY[] wasn't setting \Seen flag.
Index: imap-fetch.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-fetch.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- imap-fetch.c 26 Dec 2004 09:12:40 -0000 1.33
+++ imap-fetch.c 16 Jan 2005 16:59:38 -0000 1.34
@@ -382,7 +382,7 @@
if (ctx->flags_update_seen && (flags & MAIL_SEEN) == 0) {
/* Add \Seen flag */
flags |= MAIL_SEEN;
- if (mail->update_flags(mail, MAIL_SEEN, MODIFY_ADD) < 0)
+ if (mail->update_flags(mail, MODIFY_ADD, MAIL_SEEN) < 0)
return -1;
} else if (ctx->flags_show_only_seen_changes) {
return 1;
More information about the dovecot-cvs
mailing list