]> granicus.if.org Git - mutt/commitdiff
Fix parsing of route-addrs.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 25 Oct 2000 18:56:20 +0000 (18:56 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 25 Oct 2000 18:56:20 +0000 (18:56 +0000)
rfc822.c

index 03bd3d85f37750945e3dfa04f169ef848d605f80..a9ee98bc13b69a0a99f3ad9e72c6f3f370a3f4b4 100644 (file)
--- 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