diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-10-25 18:56:20 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-10-25 18:56:20 +0000 |
commit | f31f6d240cb6b75bcbf433c7d2ca24fbe75a5303 (patch) | |
tree | 884a3fd931f549dbf0a1e203e232257784fe54f8 | |
parent | 4ddad88e523b38dbd3c5849f54582b0c87e4f0f0 (diff) |
Fix parsing of route-addrs.
-rw-r--r-- | rfc822.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |