summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-10-25 18:56:20 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-10-25 18:56:20 +0000
commitf31f6d240cb6b75bcbf433c7d2ca24fbe75a5303 (patch)
tree884a3fd931f549dbf0a1e203e232257784fe54f8
parent4ddad88e523b38dbd3c5849f54582b0c87e4f0f0 (diff)
Fix parsing of route-addrs.
-rw-r--r--rfc822.c4
1 files changed, 2 insertions, 2 deletions
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 <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