]> git.ipfire.org Git - people/ms/dma.git/commit
parse_addrs: fix parsing for multiple <addresses>
authorSimon Schubert <2@0x2c.org>
Sat, 9 Jul 2011 00:34:53 +0000 (02:34 +0200)
committerSimon Schubert <2@0x2c.org>
Sat, 9 Jul 2011 00:34:53 +0000 (02:34 +0200)
commita5355bb270e2e3e333146ff79ef06a60000d3bec
tree7cdfa52e0299cdad553d33f410d49c6514dc26b4
parent6ec95705fff1a61079970682c101f5f07c2be617
parse_addrs: fix parsing for multiple <addresses>

We would treat [,;] as address separator, triggering a new recipient.
However, if the previous recipient was enclosed in <brackets>, we
already added this recipient.  Fix this by skipping over [,;] if the
current address is empty.

Bug: #807712 <https://bugs.launchpad.net/dma/+bug/807712>
mail.c