mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 06cc4bd693ab70f60b87e7da9191c66f68c3c52f
parent f7eee8dc0154f92dc3aa0fa81124eb88ece492c7
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Wed,  7 Sep 2016 15:50:59 +0200

mblaze822: blaze822_addr: add simple group parsing

Just ignores the group name, and considers ; an address separator too.

Diffstat:
blaze822.c | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/blaze822.c b/blaze822.c @@ -196,7 +196,12 @@ blaze822_addr(char *s, char **dispo, char **addro) *c++ = *s++; if (*s == ')') s++; - } else if (*s == ',') { + } else if (*s == ':') { + s++; + while (iswsp(*s)) + s++; + c = disp; // forget already read group name + } else if (*s == ',' || *s == ';') { s++; break; } else {