From: Thomas Roessler Date: Wed, 25 Oct 2000 18:56:20 +0000 (+0000) Subject: Fix parsing of route-addrs. X-Git-Tag: mutt-1-3-11-rel~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f31f6d240cb6b75bcbf433c7d2ca24fbe75a5303;p=mutt Fix parsing of route-addrs. --- diff --git a/rfc822.c b/rfc822.c index 03bd3d85..a9ee98bc 100644 --- a/rfc822.c +++ b/rfc822.c @@ -256,7 +256,7 @@ parse_route_addr (const char *s, { if (tokenlen < sizeof (token) - 1) token[tokenlen++] = '@'; - s = parse_mailboxdomain (s + 1, ".\\[](", token, + s = parse_mailboxdomain (s + 1, ",.\\[](", token, &tokenlen, sizeof (token) - 1, comment, commentlen, commentmax); } @@ -773,7 +773,7 @@ int main (int argc, char **argv) ADDRESS *list; char buf[256]; # if 0 - char *str = "michael, Michael Elkins , testing a really complex address: this example <@contains.a.source.route@with.multiple.hosts:address@example.com>;, lothar@of.the.hillpeople (lothar)"; + char *str = "michael, Michael Elkins , testing a really complex address: this example <@contains.a.source.route,@with.multiple.hosts:address@example.com>;, lothar@of.the.hillpeople (lothar)"; # else char *str = "a b c "; # endif