Commit 99c0d78e authored by Pietro Fezzardi's avatar Pietro Fezzardi

lib/conf.c: trivial: use builtin blank() function

instead to rewrite every time the checks for the parser
parent 961deb82
......@@ -170,7 +170,7 @@ static char *first_word(char *line, char **rest)
line [l--] = '\0';
/* skip leading blanks to find first word */
while (*line && blank(*line))
while (*line && blank(*line))
line++;
ret = line;
/* find next blank and thim there*/
......@@ -290,7 +290,7 @@ static int pp_config_line(struct pp_globals *ppg, char *line, int lineno)
break;
case ARG_STR:
while (*line && (*line == ' ' || *line == '\t'))
while (*line && blank(*line))
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