]> granicus.if.org Git - mutt/commit
Remove unnecessary strcmp for mutt_view_attachment().
authorKevin McCarthy <kevin@8t8.us>
Sat, 22 Jun 2019 19:54:40 +0000 (12:54 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 22 Jun 2019 19:54:40 +0000 (12:54 -0700)
commit03f6a9cbc825a43f2de96dde2f4556cdf98c0b4d
treee20a04771a6f272942a472191c382f90bd1f5bd9
parenta3d38b9e53ff3416a723ecec8299692b9104207e
Remove unnecessary strcmp for mutt_view_attachment().

mutt_rfc1524_expand_filename() runs the result through
mutt_adv_mktemp(), which will sanitize and relocate the filename under
$tmpdir.  The strcmp() is unneeded and distracting to the program
logic; none of the other routines perform or need this check.
attach.c