aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-05 13:07:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-13 10:04:27 +0000
commit92e08a04ed1d785b3edc3bd43c9e51ea73e50882 (patch)
tree5cb15b47f54209addf6fc709e26a057a4b815e41
parentconfig: rename str_to_bool() -> value_to_bool() (diff)
config: value_to_bool(): fixup
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index ae5aac6d..071bda9b 100644
--- a/config.c
+++ b/config.c
@@ -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 ||