]> granicus.if.org Git - neomutt/commit
Fix compose and edit attachment symlink failure code
authorKevin McCarthy <kevin@8t8.us>
Sat, 22 Jun 2019 19:35:58 +0000 (12:35 -0700)
committerRichard Russon <rich@flatcap.org>
Mon, 24 Jun 2019 15:20:39 +0000 (16:20 +0100)
commit5d53e2d876c0a2aeb9336b463146825697761659
tree93cc9c7babe0bf7c4196a79d51db0e1fa889f8aa
parent1f8714e272e32c78a2539f628bf32050945ead04
Fix compose and edit attachment symlink failure code

In the case where safe_symlink() fail, mutt prompts to continue, but
did not properly reset the filename to be operated on.

Fix up mutt_view_attachment() to use the same flow as the others, to
allow for easier comparison.

Co-authored-by: Richard Russon <rich@flatcap.org>
mutt_attach.c