diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-05 13:07:54 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-13 10:04:27 +0000 |
| commit | 92e08a04ed1d785b3edc3bd43c9e51ea73e50882 (patch) | |
| tree | 5cb15b47f54209addf6fc709e26a057a4b815e41 | |
| parent | config: rename str_to_bool() -> value_to_bool() (diff) | |
config: value_to_bool(): fixup
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -421,7 +421,7 @@ str_has_prefix(const char *str, const char *prefix) } static bool NOINLINE -value_to_bool(const struct context *ctx) +value_to_bool(struct context *ctx) { const char *s = ctx->value; return strcasecmp(s, "on") == 0 || |
