diff options
author | uid65697 <uid65697> | 2003-12-25 11:17:47 +0000 |
---|---|---|
committer | uid65697 <uid65697> | 2003-12-25 11:17:47 +0000 |
commit | a4a29fde714a0bc14f02e783e79f392811524894 (patch) | |
tree | f5453d370a0ecc796480533f69875b04059634bf /mailbox/parse822.c | |
parent | 7f9a8e30f1578c9365e1e73720fc89346a5b34d2 (diff) | |
download | mailutils-a4a29fde714a0bc14f02e783e79f392811524894.tar.gz mailutils-a4a29fde714a0bc14f02e783e79f392811524894.tar.bz2 |
Updated
Diffstat (limited to 'mailbox/parse822.c')
-rw-r--r-- | mailbox/parse822.c | 9 |
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); |