[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-save.c, 1.87, 1.88

cras at dovecot.org cras at dovecot.org
Mon Aug 29 00:29:02 EEST 2005


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

Modified Files:
	mbox-save.c 
Log Message:
assert fix



Index: mbox-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-save.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- mbox-save.c	28 Aug 2005 12:22:47 -0000	1.87
+++ mbox-save.c	28 Aug 2005 21:28:59 -0000	1.88
@@ -277,7 +277,7 @@
 	if (ctx->append_offset == (uoff_t)-1) {
 		/* first appended mail in this transaction */
 		if (mbox->mbox_lock_type != F_WRLCK) {
-			i_assert(mbox->mbox_lock_type != F_WRLCK);
+			i_assert(mbox->mbox_lock_type != F_RDLCK);
 			if (mbox_lock(mbox, F_WRLCK, &t->mbox_lock_id) <= 0)
 				return -1;
 		}



More information about the dovecot-cvs mailing list