[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.175, 1.176

cras at dovecot.org cras at dovecot.org
Fri Dec 30 15:05:16 EET 2005


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

Modified Files:
	mbox-sync.c 
Log Message:
Extra assert



Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- mbox-sync.c	3 Nov 2005 18:30:24 -0000	1.175
+++ mbox-sync.c	30 Dec 2005 13:05:14 -0000	1.176
@@ -1464,6 +1464,8 @@
 			return -1;
 		}
 	}
+	i_assert(!sync_ctx->mbox->mbox_sync_dirty ||
+		 (flags & MBOX_SYNC_UNDIRTY) == 0);
 
 	if (mbox_sync_handle_eof_updates(sync_ctx, &mail_ctx) < 0)
 		return -1;



More information about the dovecot-cvs mailing list