[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-rewrite.c, 1.75, 1.76
tss at dovecot.org
tss at dovecot.org
Sat Mar 10 18:14:35 EET 2007
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv5098
Modified Files:
mbox-sync-rewrite.c
Log Message:
comment update
Index: mbox-sync-rewrite.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- mbox-sync-rewrite.c 10 Mar 2007 16:05:48 -0000 1.75
+++ mbox-sync-rewrite.c 10 Mar 2007 16:14:33 -0000 1.76
@@ -331,13 +331,15 @@
istream_raw_mbox_get_header_offset(sync_ctx->input);
mail_ctx->mail.body_size = mails[idx].body_size;
- /* This will force the UID to be the one that we originally assigned
- to it, regardless of whether it's broken or not in the file. */
orig_next_uid = sync_ctx->next_uid;
if (mails[idx].uid != 0) {
+ /* This will force the UID to be the one that we originally
+ assigned to it, regardless of whether it's broken or not in
+ the file. */
sync_ctx->next_uid = mails[idx].uid;
sync_ctx->prev_msg_uid = mails[idx].uid - 1;
} else {
+ /* Pseudo mail shouldn't have X-UID header at all */
i_assert(mails[idx].pseudo);
sync_ctx->prev_msg_uid = 0;
}
More information about the dovecot-cvs
mailing list