dovecot: Metadata writing fix

dovecot at dovecot.org dovecot at dovecot.org
Sun Oct 28 19:09:13 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/de99b5438fdf
changeset: 6650:de99b5438fdf
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Oct 28 19:09:10 2007 +0200
description:
Metadata writing fix

diffstat:

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

diffs (12 lines):

diff -r 96e4aff1be38 -r de99b5438fdf src/lib-storage/index/dbox/dbox-file.c
--- a/src/lib-storage/index/dbox/dbox-file.c	Sun Oct 28 18:55:48 2007 +0200
+++ b/src/lib-storage/index/dbox/dbox-file.c	Sun Oct 28 19:09:10 2007 +0200
@@ -1047,7 +1047,7 @@ int dbox_file_metadata_write_to(struct d
 		}
 		/* write modified metadata */
 		for (i = 0; i < changes_count; i++) {
-			if (o_stream_send_str(output, changes[j]) < 0 ||
+			if (o_stream_send_str(output, changes[i]) < 0 ||
 			    o_stream_send(output, "\n", 1) < 0)
 				return -1;
 		}


More information about the dovecot-cvs mailing list