summaryrefslogtreecommitdiff
path: root/notmuch-reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 31679a5..671a915 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -220,8 +220,8 @@ mailing_list_munged_reply_to (notmuch_message_t *message)
addr = internet_address_mailbox_get_addr (mailbox);
/* Note that strcasestr() is a GNU extension, strstr() might be sufficient */
- if (strcasestr (notmuch_message_get_header (message, "to"), addr) == 0 ||
- strcasestr (notmuch_message_get_header (message, "cc"), addr) == 0)
+ if (strcasestr (notmuch_message_get_header (message, "to"), addr) != 0 ||
+ strcasestr (notmuch_message_get_header (message, "cc"), addr) != 0)
{
return 1;
}