summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-06 12:21:55 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-06 12:21:55 -0300
commit50a36e69eedaf9a4438d939e66ed5d09aa0f65c1 (patch)
tree1268d6424498a0a440f92075de1bd9f2b94744b6 /config.c
parent19ee637cefbdc197c0d249b146f263116812db53 (diff)
keyword, git: Update error checking for every function that uses
`get_keyword_offset_ptr()`
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 559fc55..dfbba40 100644
--- a/config.c
+++ b/config.c
@@ -62,7 +62,7 @@ config *parse_config(const char *filename) {
/* Did we fail to parse the config file? */
if (error = parse_key_value_file(cfg, &type_error, config_keywords, buf, "=", NULL)) {
- if (type_error || (error >= 3 && error != 6)) {
+ if (type_error || (error >= 3 && error > 7)) {
cleanup_config(cfg);
free(buf);
return NULL;