[dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-sync-update.c, 1.34, 1.35
cras at dovecot.org
cras at dovecot.org
Fri Apr 29 15:47:01 EEST 2005
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-fsck.c, 1.26,
1.27 mail-index-sync-update.c, 1.84, 1.85 mail-index-sync.c,
1.59, 1.60 mail-index.c, 1.199, 1.200 mail-index.h, 1.149, 1.150
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv5479/index/mbox
Modified Files:
mbox-sync-update.c
Log Message:
If data inside headers was moved within the first mail, we might have gotten
"uid-last unexpectedly lost" error.
Index: mbox-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-update.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mbox-sync-update.c 26 Apr 2005 14:07:31 -0000 1.34
+++ mbox-sync-update.c 29 Apr 2005 12:46:59 -0000 1.35
@@ -42,6 +42,8 @@
ctx->hdr_pos[i] != (size_t)-1)
ctx->hdr_pos[i] += diff;
}
+ if (ctx->sync_ctx->dest_first_mail)
+ ctx->sync_ctx->base_uid_last_offset += diff;
if (diff < 0)
str_delete(ctx->header, pos, -diff);
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-fsck.c, 1.26,
1.27 mail-index-sync-update.c, 1.84, 1.85 mail-index-sync.c,
1.59, 1.60 mail-index.c, 1.199, 1.200 mail-index.h, 1.149, 1.150
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list