]> granicus.if.org Git - neomutt/commit
Decode CRLF line endings to LF when copying headers 606/head
authorJulian Andres Klode <jak@jak-linux.org>
Sat, 3 Jun 2017 15:43:09 +0000 (17:43 +0200)
committerRichard Russon <rich@flatcap.org>
Sat, 24 Jun 2017 11:06:47 +0000 (12:06 +0100)
commitaf725fe7d5b5ba2d22d322c470c092d32d04e242
treec6a595f556a8d38973a680f23703497e905c118d
parent7242b951244f351e72f2da555eb0fd1e139b8195
Decode CRLF line endings to LF when copying headers

This fixes display issues with files that consist of CRLF
line endings rather than just LF line endings, for example,
emails exported directly from the gmail API.

This only kicks in when CH_DECODE is set which might be a bit
strange, because that does RFC2047 header decoding, but it seems
a safe place to place this line end decoding without potentially
affecting anything else.
copy.c