From: Kevin McCarthy Date: Sat, 3 Jan 2015 19:33:10 +0000 (-0800) Subject: Change bounce to use mutt_parse_adrlist() for address parsing. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=014dd09966d396e0924a39544a84b2da59d47571;p=neomutt Change bounce to use mutt_parse_adrlist() for address parsing. When prompting for recipients, forwarding, replying, and mailing all use mutt_parse_adrlist() to parse the addresses. This allows for addresses to be separated by spaces. Bounce message currently uses rfc822_parse_adrlist(), which doesn't allow the spaces. This one-line patch simply changes bounce to behave the same as mail, reply, and forwarding for the address prompt. Thanks to Roger Cornelius for the patch! --- diff --git a/commands.c b/commands.c index 6b23e396c..8fc7d7e29 100644 --- a/commands.c +++ b/commands.c @@ -286,7 +286,7 @@ void ci_bounce_message (HEADER *h, int *redraw) if (rc || !buf[0]) return; - if (!(adr = rfc822_parse_adrlist (adr, buf))) + if (!(adr = mutt_parse_adrlist (adr, buf))) { mutt_error _("Error parsing address!"); return;