[dovecot-cvs] dovecot/src/lib-index mail-index-view-sync.c, 1.38,
1.39
cras at dovecot.org
cras at dovecot.org
Thu Mar 24 22:09:52 EET 2005
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv4068
Modified Files:
mail-index-view-sync.c
Log Message:
Added assert.
Index: mail-index-view-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-view-sync.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- mail-index-view-sync.c 14 Mar 2005 20:48:25 -0000 1.38
+++ mail-index-view-sync.c 24 Mar 2005 20:09:50 -0000 1.39
@@ -96,6 +96,7 @@
have already changed under us. */
i_assert((sync_mask & MAIL_INDEX_SYNC_TYPE_FLAGS) != 0);
i_assert(!view->syncing);
+ i_assert(view->transactions == 0);
if (mail_index_view_lock_head(view, TRUE) < 0)
return -1;
More information about the dovecot-cvs
mailing list