From ac8afe0ab2e81c09278cff15da781275a08aa593 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 30 Jul 2018 10:30:00 +0100 Subject: [PATCH] Remove an incorrect warning about using the "general" "statistics" setting. --- shairport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shairport.c b/shairport.c index 5ce011f2..f07ad52c 100644 --- a/shairport.c +++ b/shairport.c @@ -464,7 +464,7 @@ int parse_options(int argc, char **argv) { } /* Get the statistics setting. */ - if (!config_set_lookup_bool(config.cfg, "general.statistics", + if (config_set_lookup_bool(config.cfg, "general.statistics", &(config.statistics_requested))) { warn("The \"general\" \"statistics\" setting is deprecated. Please use the \"diagnostics\" " "\"statistics\" setting instead.");