dovecot-1.1: mbox: Empty lines were inserted in the middle of sa...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 3 16:04:36 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/e043135e971d
changeset: 7608:e043135e971d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 03 16:04:32 2008 +0300
description:
mbox: Empty lines were inserted in the middle of saved mails' headers.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-mail/istream-header-filter.c |    2 +-

diffs (12 lines):

diff -r ff3adeb71d47 -r e043135e971d src/lib-mail/istream-header-filter.c
--- a/src/lib-mail/istream-header-filter.c	Tue Jun 03 02:46:32 2008 +0300
+++ b/src/lib-mail/istream-header-filter.c	Tue Jun 03 16:04:32 2008 +0300
@@ -233,7 +233,7 @@ static ssize_t read_header(struct header
 		}
 	}
 
-	if (!mstream->seen_eoh && mstream->add_missing_eoh) {
+	if (hdr_ret < 0 && !mstream->seen_eoh && mstream->add_missing_eoh) {
 		mstream->seen_eoh = TRUE;
 		add_eol(mstream);
 	}


More information about the dovecot-cvs mailing list