]> granicus.if.org Git - neomutt/commit
Fix parent_hdr usage in mutt_attach_reply(). (see #3728)
authorKevin McCarthy <kevin@8t8.us>
Fri, 11 Aug 2017 16:04:48 +0000 (09:04 -0700)
committerRichard Russon <rich@flatcap.org>
Fri, 1 Sep 2017 12:44:58 +0000 (13:44 +0100)
commitbb88c6f353efb5778aa35f75fbdcd349059774da
treed28ade0f5b9c13595bdbcbb20b5eb08d8ea61071
parent1143be8457ebc6da6db7e743bef0a7f8a12633a0
Fix parent_hdr usage in mutt_attach_reply(). (see #3728)

If the selected attachments are not messages and no (common) parent is
found, parent_hdr is set to the passed in hdr.  In that case, parent
will still be NULL, but parent_hdr and parent_fp will be set.

Change the test to parent_hdr being NULL, not parent, to check for
this case.
recvcmd.c