]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
full_value should contain LFs as well
authorTimo Sirainen <tss@iki.fi>
Mon, 28 Jun 2004 21:31:10 +0000 (00:31 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 28 Jun 2004 21:31:10 +0000 (00:31 +0300)
--HG--
branch : HEAD

src/lib-mail/message-parser.c

index fc69531a956ae8262c4f98d61f2b49db760e1f59..801906eace7e3a04ebc92e1a50e167f4fe30d151 100644 (file)
@@ -892,6 +892,7 @@ message_parse_header_next(struct message_header_parser_ctx *ctx)
                line->full_value_len = line->value_len;
        } else if (line->use_full_value) {
                /* continue saving the full value */
+               buffer_append_c(ctx->value_buf, '\n');
                buffer_append(ctx->value_buf, line->value, line->value_len);
                line->full_value = buffer_get_data(ctx->value_buf,
                                                   &line->full_value_len);