dovecot-1.2: lib-index: modseqs weren't tracked properly within ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Sep 1 20:05:12 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/687ac828b964
changeset: 9354:687ac828b964
user: Timo Sirainen <tss at iki.fi>
date: Tue Sep 01 13:05:03 2009 -0400
description:
lib-index: modseqs weren't tracked properly within session when changes were done.
diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
src/lib-index/mail-transaction-log-append.c | 3 +--
diffs (13 lines):
diff -r 3c171f5eee8d -r 687ac828b964 src/lib-index/mail-transaction-log-append.c
--- a/src/lib-index/mail-transaction-log-append.c Tue Sep 01 12:21:14 2009 -0400
+++ b/src/lib-index/mail-transaction-log-append.c Tue Sep 01 13:05:03 2009 -0400
@@ -50,8 +50,7 @@ static void log_append_buffer(struct log
buffer_append(ctx->output, hdr_buf->data, hdr_buf->used);
buffer_append(ctx->output, buf->data, buf->used);
- if (mail_transaction_header_has_modseq(buf->data,
- CONST_PTR_OFFSET(buf->data, sizeof(hdr)), ctx->modseq))
+ if (mail_transaction_header_has_modseq(&hdr, buf->data, ctx->modseq))
ctx->modseq++;
/* update the size */
More information about the dovecot-cvs
mailing list