diff options
-rw-r--r-- | conf-parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf-parser.c b/conf-parser.c index 8883d9ed68..5da5587408 100644 --- a/conf-parser.c +++ b/conf-parser.c @@ -371,6 +371,8 @@ int config_parse_strv( if (*sv) for (k = 0; (*sv)[k]; k++) n[k] = (*sv)[k]; + else + k = 0; FOREACH_WORD_QUOTED(w, l, rvalue, state) if (!(n[k++] = strndup(w, l))) |