The behavior is generating a false 'F' flag for a spam message with an
unparsable From address.
After reviewing the callers, I can't see a reason returning 'yes' in
this case.
Co-authored-by: Richard Russon <rich@flatcap.org>
*/
bool mutt_addr_is_user(const struct Address *addr)
{
- /* NULL address is assumed to be the user. */
if (!addr)
{
- mutt_debug(5, "yes, NULL address\n");
- return true;
+ mutt_debug(5, "no, NULL address\n");
+ return false;
}
if (!addr->mailbox)
{