[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-mail.c, 1.9, 1.10

cras at dovecot.org cras at dovecot.org
Fri Jan 7 23:45:44 EET 2005


Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv15259/lib-storage/index/maildir

Modified Files:
	maildir-mail.c 
Log Message:
mail->expunged field wasn't actually set. Now it's always set if
wanted_fields contains message header or body.



Index: maildir-mail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-mail.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- maildir-mail.c	26 Dec 2004 09:12:43 -0000	1.9
+++ maildir-mail.c	7 Jan 2005 21:45:41 -0000	1.10
@@ -220,7 +220,7 @@
 		data->stream = maildir_open_mail(mail->ibox, mail->mail.uid,
 						 &deleted);
 		if (data->stream == NULL) {
-			data->deleted = deleted;
+			_mail->expunged = deleted;
 			return NULL;
 		}
 	}



More information about the dovecot-cvs mailing list