Mercurial > dovecot > core-2.2
changeset 22237:c8b7596cef7f
lib-imap: imap_write_envelope changed to skip CRs and LFs.
author | Sergey Kitov <sergey.kitov@open-xchange.com> |
---|---|
date | Wed, 14 Jun 2017 10:44:01 +0300 |
parents | d0ce40449889 |
children | 1378799de216 |
files | src/lib-imap/imap-envelope.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-imap/imap-envelope.c Wed Jun 14 10:41:04 2017 +0300 +++ b/src/lib-imap/imap-envelope.c Wed Jun 14 10:44:01 2017 +0300 @@ -55,7 +55,7 @@ return; } - imap_append_nstring(str, data->date); + imap_append_nstring_nolf(str, data->date); str_append_c(str, ' '); if (data->subject == NULL) str_append(str, "NIL"); @@ -79,9 +79,9 @@ imap_write_address(str, data->bcc); str_append_c(str, ' '); - imap_append_nstring(str, data->in_reply_to); + imap_append_nstring_nolf(str, data->in_reply_to); str_append_c(str, ' '); - imap_append_nstring(str, data->message_id); + imap_append_nstring_nolf(str, data->message_id); } /*