dovecot: Fixed in-memory indexes

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 20 16:22:56 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/e1347a122140
changeset: 5790:e1347a122140
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 20 16:22:48 2007 +0300
description:
Fixed in-memory indexes

diffstat:

1 file changed, 1 insertion(+)
src/lib-index/mail-transaction-log-append.c |    1 +

diffs (11 lines):

diff -r 4f22660ffd33 -r e1347a122140 src/lib-index/mail-transaction-log-append.c
--- a/src/lib-index/mail-transaction-log-append.c	Wed Jun 20 14:08:27 2007 +0400
+++ b/src/lib-index/mail-transaction-log-append.c	Wed Jun 20 16:22:48 2007 +0300
@@ -85,6 +85,7 @@ static int log_buffer_write(struct log_a
 	struct mail_transaction_log_file *file = ctx->file;
 
 	if (MAIL_TRANSACTION_LOG_FILE_IN_MEMORY(file)) {
+		buffer_append_buf(file->buffer, ctx->output, 0, (size_t)-1);
 		file->sync_offset = file->buffer_offset + file->buffer->used;
 		return 0;
 	}


More information about the dovecot-cvs mailing list