From 8bd7b5b607028f16893871660769e8cbba5a3def Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 Jul 2009 07:37:32 +0200 Subject: conf: use bp->value, not param->value A recent change to the boolean parser introduced a bug: instead of using the block_param's value with get_bool(), we passed param->value (which is always NULL in this case). --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 6209335d3..777cbe6ed 100644 --- a/src/conf.c +++ b/src/conf.c @@ -518,7 +518,7 @@ config_get_block_bool(const struct config_param *param, const char *name, if (bp == NULL) return default_value; - success = get_bool(param->value, &value); + success = get_bool(bp->value, &value); if (!success) g_error("%s is not a boolean value (yes, true, 1) or " "(no, false, 0) on line %i\n", -- cgit v1.2.3