Commit f31f6d24 authored by Thomas Roessler's avatar Thomas Roessler

Fix parsing of route-addrs.

parent 4ddad88e
......@@ -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 <me@cs.hmc.edu>, 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 <me@cs.hmc.edu>, 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment