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>
case ',':
case ';':
+ /*
+ * Next address, copy previous one.
+ * However, we might be directly after
+ * a <address>, or have two consecutive
+ * commas.
+ * Skip the comma unless there is
+ * really something to copy.
+ */
+ if (ps->pos == 0)
+ goto skip;
s++;
goto newaddr;