Commit eac7e370 authored by Pietro Fezzardi's avatar Pietro Fezzardi

conf: fix ARG_STR error in skipping leading blanks

parent f68e4b71
...@@ -234,7 +234,7 @@ static int pp_config_line(struct pp_globals *ppg, char *line, int lineno) ...@@ -234,7 +234,7 @@ static int pp_config_line(struct pp_globals *ppg, char *line, int lineno)
break; break;
case ARG_STR: case ARG_STR:
while (*line && *line == ' ' && *line == '\t') while (*line && (*line == ' ' || *line == '\t'))
line++; line++;
cfg_arg.s = line; cfg_arg.s = line;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment