if ((mutt_parse_mailto(lpenv, NULL, mailto) != -1) && !TAILQ_EMPTY(&lpenv->to))
{
const char *mailbox = TAILQ_FIRST(&lpenv->to)->mailbox;
- if (mailbox && !mutt_regexlist_match(&UnSubscribedLists, mailbox) &&
+ if (mailbox && !mutt_regexlist_match(&SubscribedLists, mailbox) &&
!mutt_regexlist_match(&UnMailLists, mailbox) &&
!mutt_regexlist_match(&UnSubscribedLists, mailbox))
{
for (size_t i = 0; PreferredMimeNames[i].key; i++)
{
- if ((mutt_str_strcasecmp(scratch, PreferredMimeNames[i].key) == 0) ||
- (mutt_str_strcasecmp(scratch, PreferredMimeNames[i].key) == 0))
+ if (mutt_str_strcasecmp(scratch, PreferredMimeNames[i].key) == 0)
{
mutt_str_strfcpy(buf, PreferredMimeNames[i].pref, buflen);
goto out;
{
sze = mutt_str_strlen(p);
if ((sze > cur_sze) && (szf >= sze) &&
- ((mutt_str_strcasecmp(path + szf - sze, p) == 0) ||
- (mutt_str_strcasecmp(path + szf - sze, p) == 0)) &&
+ (mutt_str_strcasecmp(path + szf - sze, p) == 0) &&
((szf == sze) || (path[szf - sze - 1] == '.')))
{
/* get the content-type */