diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-02 22:08:54 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-02 22:11:13 -0300 |
commit | afe414d90ef6ce9a1c8437629b8299c126fd7044 (patch) | |
tree | 10aaa6225a1cd37f3e767174df3e5fe56473763c | |
parent | 5589b9898b0bd9bbdfdf3c78c532e9bb104d5c41 (diff) |
keyword: Revert commit 5589b9898b0bd9bbdfdf3c78c532e9bb104d5c41
keyword: Remove trailing whitespace from the right hand side in
`parse_key_value_file()`
I didn't realize this would create a parsing bug.
-rw-r--r-- | keyword.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -115,8 +115,6 @@ 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? */ |