From 262a5fa99b1a807050bcaf592a533b30107af6be Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 1 Aug 2022 12:24:36 -0300 Subject: keyword: Replace `*delm`, with `*tmp` in `parse_keyword_value_file()` This was a mistake that I didn't even notice until now, lol. --- keyword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyword.c b/keyword.c index 8127440..2afe455 100644 --- a/keyword.c +++ b/keyword.c @@ -109,7 +109,7 @@ int parse_key_value_file(void *ret, void *ctx, const keyword **keywords, char *b /* Does the right hand side start with a double, or single quote? */ if (*tmp == '\"' || *tmp == '\'') { - const char *delm = (*delm == '\"') ? "\"" : "\'"; + const char *delm = (*tmp == '\"') ? "\"" : "\'"; /* Get the string in between the start, and end qoute. */ rhs = get_str_delm_range(tmp, delm, delm, &buf); } else { -- cgit v1.2.3-13-gbd6f