[dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.181, 1.182
cras at dovecot.org
cras at dovecot.org
Sat Jun 17 23:03:21 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv28591
Modified Files:
mbox-sync.c
Log Message:
Removed assert. In normal situations it doesn't happen and in error cases
(cached offset is invalid) it causes a crash.
Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- mbox-sync.c 14 Apr 2006 11:14:08 -0000 1.181
+++ mbox-sync.c 17 Jun 2006 20:03:18 -0000 1.182
@@ -1467,8 +1467,6 @@
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