diff --git a/nfq/hostlist.c b/nfq/hostlist.c index 03ed441..abb415b 100644 --- a/nfq/hostlist.c +++ b/nfq/hostlist.c @@ -4,17 +4,27 @@ #include "helpers.h" // inplace tolower() and add to pool -static bool addpool(strpool **hostlist, char **s, const char *end) +static bool addpool(strpool **hostlist, char **s, const char *end, int *ct) { - char *p; - - // advance until eol lowering all chars - for (p = *s; p