dovecot-2.2: lib-index: Fixed failing unit test

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 10 18:48:59 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/a3bd79aec23a
changeset: 16268:a3bd79aec23a
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 10 18:48:54 2013 +0300
description:
lib-index: Fixed failing unit test

diffstat:

 src/lib-index/test-mail-transaction-log-view.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 79a74a23b742 -r a3bd79aec23a src/lib-index/test-mail-transaction-log-view.c
--- a/src/lib-index/test-mail-transaction-log-view.c	Wed Apr 10 18:00:12 2013 +0300
+++ b/src/lib-index/test-mail-transaction-log-view.c	Wed Apr 10 18:48:54 2013 +0300
@@ -63,6 +63,7 @@
 	file->hdr.file_seq = file_seq;
 	file->hdr.hdr_size = file->sync_offset = sizeof(file->hdr);
 	file->hdr.prev_file_seq = file_seq - 1;
+	file->hdr.prev_file_offset = (uint32_t)-1;
 	file->log = log;
 	file->fd = -1;
 	file->buffer = buffer_create_dynamic(default_pool, 256);


More information about the dovecot-cvs mailing list