[dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.181, 1.181.2.1
cras at dovecot.org
cras at dovecot.org
Sat Jun 17 23:03:19 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv24091
Modified Files:
Tag: branch_1_0
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.181.2.1
diff -u -d -r1.181 -r1.181.2.1
--- mbox-sync.c 14 Apr 2006 11:14:08 -0000 1.181
+++ mbox-sync.c 17 Jun 2006 20:03:17 -0000 1.181.2.1
@@ -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