[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.49,
1.50
cras at procontrol.fi
cras at procontrol.fi
Sun Jun 20 23:46:13 EEST 2004
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv19101/lib-storage/index/mbox
Modified Files:
mbox-sync.c
Log Message:
assertfix
Index: mbox-sync.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- mbox-sync.c 20 Jun 2004 20:33:57 -0000 1.49
+++ mbox-sync.c 20 Jun 2004 20:46:11 -0000 1.50
@@ -488,7 +488,7 @@
mails = buffer_get_modifyable_data(sync_ctx->mails, &size);
size /= sizeof(*mails);
- i_assert(sync_ctx->need_space_seq - sync_ctx->seq + 1 == size);
+ i_assert(sync_ctx->seq - sync_ctx->need_space_seq + 1 == size);
idx = 0;
idx_seq = sync_ctx->need_space_idx_seq;
More information about the dovecot-cvs
mailing list