Skip to content

Commit

Permalink
Change bounce to use mutt_parse_adrlist() for address parsing.
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
kevin8t8 authored and karelzak committed Feb 9, 2015
1 parent 0c2be9b commit 9a27f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,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;
Expand Down

0 comments on commit 9a27f77

Please sign in to comment.