config: value_to_bool(): fixup

This commit is contained in:
Daniel Eklöf 2021-11-05 14:07:54 +01:00
parent 5bb2973c39
commit 92e08a04ed
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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 ||