dovecot-1.2: uninitialized variable fix

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 17 11:13:08 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/1e0b1888a876
changeset: 8283:1e0b1888a876
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 17 11:13:04 2008 +0300
description:
uninitialized variable fix

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-index-strmap.c |    2 +-

diffs (12 lines):

diff -r a0c05c33f838 -r 1e0b1888a876 src/lib-index/mail-index-strmap.c
--- a/src/lib-index/mail-index-strmap.c	Thu Oct 16 16:19:37 2008 +0300
+++ b/src/lib-index/mail-index-strmap.c	Fri Oct 17 11:13:04 2008 +0300
@@ -1121,7 +1121,7 @@ mail_index_strmap_write_append(struct ma
 
 	i_stream_sync(view->strmap->input);
 	i_stream_seek(view->strmap->input, view->last_read_block_offset);
-	full_block = TRUE;
+	full_block = TRUE; ret = 0;
 	while (i < old_count &&
 	       (ret = strmap_read_block_init(view, &ctx)) > 0) {
 		while ((ret = strmap_read_block_next(&ctx, &crc32)) > 0) {


More information about the dovecot-cvs mailing list