[dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.132, 1.133
cras at dovecot.org
cras at dovecot.org
Tue Dec 28 16:47:22 EET 2004
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv14031
Modified Files:
mbox-sync.c
Log Message:
Added assert.
Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- mbox-sync.c 26 Dec 2004 09:12:45 -0000 1.132
+++ mbox-sync.c 28 Dec 2004 14:47:19 -0000 1.133
@@ -994,6 +994,7 @@
i_assert(file_size >= sync_ctx->expunged_space + trailer_size);
offset = file_size - sync_ctx->expunged_space - trailer_size;
+ i_assert(offset == 0 || offset > 31);
if (mbox_move(sync_ctx, offset,
offset + sync_ctx->expunged_space,
More information about the dovecot-cvs
mailing list