summaryrefslogtreecommitdiff
path: root/mailbox/parse822.c
diff options
context:
space:
mode:
authoruid65697 <uid65697>2003-12-25 11:17:47 +0000
committeruid65697 <uid65697>2003-12-25 11:17:47 +0000
commita4a29fde714a0bc14f02e783e79f392811524894 (patch)
treef5453d370a0ecc796480533f69875b04059634bf /mailbox/parse822.c
parent7f9a8e30f1578c9365e1e73720fc89346a5b34d2 (diff)
downloadmailutils-a4a29fde714a0bc14f02e783e79f392811524894.tar.gz
mailutils-a4a29fde714a0bc14f02e783e79f392811524894.tar.bz2
Updated
Diffstat (limited to 'mailbox/parse822.c')
-rw-r--r--mailbox/parse822.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/mailbox/parse822.c b/mailbox/parse822.c
index 43445693e..1f87c2dc8 100644
--- a/mailbox/parse822.c
+++ b/mailbox/parse822.c
@@ -34,8 +34,6 @@ Things to consider:
--> Groups no longer show up in the address_t list.
- - Need a way to parse "<>", it's a valid SMTP address...
-
- Need a way to parse ",,,", it's a valid address-list, it just doesn't
have any addresses.
@@ -1022,6 +1020,13 @@ parse822_route_addr (const char **p, const char *e, address_t * a)
return rc;
}
+ if (!(rc = parse822_special (p, e, '>')))
+ {
+ (void) (((rc = fill_mb (a, 0, 0, 0, 0)) == EOK)
+ && ((rc = str_append (&(*a)->email, "")) == EOK));
+
+ return rc;
+ }
parse822_route (p, e, &route);

Return to:

Send suggestions and report system problems to the System administrator.