Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6650:de99b5438fdf HEAD
Metadata writing fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 28 Oct 2007 19:09:10 +0200 |
parents | 96e4aff1be38 |
children | 3acd85fbd55b |
files | src/lib-storage/index/dbox/dbox-file.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ } /* 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; }