[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c,
1.44, 1.45
cras at dovecot.org
cras at dovecot.org
Wed Aug 17 02:32:40 EEST 2005
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv7531/src/lib-storage/index/mbox
Modified Files:
mbox-sync-parse.c
Log Message:
We weren't properly checking if X-IMAPbase header was seen when we parsed
X-UID header. Could cause assert-crash while rewriting.
Index: mbox-sync-parse.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- mbox-sync-parse.c 7 Aug 2005 11:28:13 -0000 1.44
+++ mbox-sync-parse.c 16 Aug 2005 23:32:31 -0000 1.45
@@ -342,7 +342,7 @@
return TRUE;
}
- if (ctx->sync_ctx->seq == 1 && !ctx->seen_imapbase) {
+ if (ctx->seq == 1 && !ctx->seen_imapbase) {
/* Don't bother allowing X-UID before X-IMAPbase
header. c-client doesn't allow it either, and this
way the UID doesn't have to be reset if X-IMAPbase
More information about the dovecot-cvs
mailing list