diff options
Diffstat (limited to 'keyword.c')
-rw-r--r-- | keyword.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -115,6 +115,8 @@ int parse_key_value_file(void *ret, void *ctx, const keyword **keywords, char *b } else { /* Get the rest of the line. */ rhs = strtok_r(tmp, "\n", &buf); + /* Remove any whitespace ahead of us. */ + rhs = strtok_r(rhs, " \t\v\r\n", &tmp); } /* Did we fail to parse the keyword? */ |