- if (mutt_match_rx_list (addr->mailbox, Alternates)) {
- dprint (5,
- (debugfile, "mail_addr_is_user: yes, %s matched by alternates.\n",
- addr->mailbox));
- if (mutt_match_rx_list (addr->mailbox, UnAlternates))
- dprint (5,
- (debugfile,
- "mail_addr_is_user: but, %s matched by unalternates.\n",
- addr->mailbox));
+ if (rx_list_match (Alternates, addr->mailbox)) {
+ debug_print(5, ("yes, %s matched by alternates.\n", addr->mailbox));
+ if (rx_list_match (UnAlternates, addr->mailbox))
+ debug_print(5, ("but, %s matched by unalternates.\n", addr->mailbox));