]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Remove an incorrect warning about using the "general" "statistics" setting.
authorMike Brady <mikebrady@eircom.net>
Mon, 30 Jul 2018 09:30:00 +0000 (10:30 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 30 Jul 2018 09:30:00 +0000 (10:30 +0100)
shairport.c

index 5ce011f254cbb4c8436334026f72d7fb147d0860..f07ad52ca4ee14f4064f256cf10b01a5d2509487 100644 (file)
@@ -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.");