]> granicus.if.org Git - neomutt/commit
Remove nonsensical size check in mutt_choose_charset()
authorKevin McCarthy <kevin@8t8.us>
Fri, 5 Aug 2016 21:33:39 +0000 (14:33 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 5 Aug 2016 21:33:39 +0000 (14:33 -0700)
commiteb38636d30e6192b53c2d84498fdfbc9239f07b3
tree6b6204a73d5084aac5bf554b404d64fa52f2037f
parent5a8c47464ec7c4f3c56501732f26d67c6e1817d9
Remove nonsensical size check in mutt_choose_charset()

The charsets parameter is being tokenized by the : delimeter.

The checks against ENCWORD_LEN_MAX and ENCWORD_LEN_MIN make no sense,
and appear to be the result of a large merge a very long time ago
(changeset cb27682966d5).

I can only guess where this check was supposed to be, but it certainly
doesn't belong here.
rfc2047.c