diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-09-07 15:50:59 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-09-07 15:50:59 +0200 |
commit | 06cc4bd693ab70f60b87e7da9191c66f68c3c52f (patch) | |
tree | fc61490f11181a4b91b09b162ba0c0b78b0a931e /blaze822.c | |
parent | f7eee8dc0154f92dc3aa0fa81124eb88ece492c7 (diff) | |
download | mblaze-06cc4bd693ab70f60b87e7da9191c66f68c3c52f.tar.gz mblaze-06cc4bd693ab70f60b87e7da9191c66f68c3c52f.tar.xz mblaze-06cc4bd693ab70f60b87e7da9191c66f68c3c52f.zip |
mblaze822: blaze822_addr: add simple group parsing
Just ignores the group name, and considers ; an address separator too.
Diffstat (limited to 'blaze822.c')
-rw-r--r-- | blaze822.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c index ebeb648..d15f4c9 100644 --- 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 { |