diff options
-rw-r--r-- | src/libwpactrl/wpactrl_flags_scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libwpactrl/wpactrl_flags_scan.c b/src/libwpactrl/wpactrl_flags_scan.c index e8eecf5..6e18cd4 100644 --- a/src/libwpactrl/wpactrl_flags_scan.c +++ b/src/libwpactrl/wpactrl_flags_scan.c @@ -14,6 +14,7 @@ size_t wpactrl_flags_scan (char const *t, stralloc *sa) while (*s == '[') { size_t pos ; + s++; pos = str_chr(s, ']') ; if (!s[pos]) goto eproto ; if (!stralloc_catb(sa, s, pos) || !stralloc_0(sa)) goto err ; |