From: Mike Brady Date: Mon, 30 Jul 2018 09:30:00 +0000 (+0100) Subject: Remove an incorrect warning about using the "general" "statistics" setting. X-Git-Tag: 3.3RC0~285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac8afe0ab2e81c09278cff15da781275a08aa593;p=thirdparty%2Fshairport-sync.git Remove an incorrect warning about using the "general" "statistics" setting. --- 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.");