changeset: 6383:79ea10b2d81c
user:      Kevin McCarthy <[email protected]>
date:      Sat Jan 03 11:33:10 2015 -0800
link:      http://dev.mutt.org/hg/mutt/rev/79ea10b2d81c

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!

diffs (12 lines):

diff -r 5530e9fb17d9 -r 79ea10b2d81c commands.c
--- a/commands.c        Wed Dec 31 20:35:38 2014 -0800
+++ b/commands.c        Sat Jan 03 11:33:10 2015 -0800
@@ -286,7 +286,7 @@
   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;

Reply via email to