From: Till Zimmermann Date: Thu, 9 May 2019 10:37:09 +0000 (+0200) Subject: Fixed Typos X-Git-Tag: 3.3rc7~2^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F848%2Fhead;p=thirdparty%2Fshairport-sync.git Fixed Typos --- diff --git a/shairport.c b/shairport.c index 21d47d8e..bb790c6f 100644 --- a/shairport.c +++ b/shairport.c @@ -1761,13 +1761,13 @@ int main(int argc, char **argv) { debug(1, "get-coverart is %d.", config.get_coverart); #endif #ifdef CONFIG_MQTT - debug(1, "mqtt is %sabled.", (config.mqtt_enabled?"en":"dis")); - debug(1, "mqtt hostname is %s, port is %d.", config.mqtt_hostname. config.mqtt_port); + debug(1, "mqtt is %sabled.", config.mqtt_enabled ? "en" : "dis"); + debug(1, "mqtt hostname is %s, port is %d.", config.mqtt_hostname, config.mqtt_port); debug(1, "mqtt topic is %s.", config.mqtt_topic); - debug(1, "mqtt will%s publish raw metadata.", (config.mqtt_publish_raw?"":" NOT")); - debug(1, "mqtt will%s publish parsed metadata.", (config.mqtt_publish_parsed?"":" NOT")); - debug(1, "mqtt will%s publish cover Art.", (config.mqtt_publish_cover?"":" NOT")); - debug(1, "mqtt remote control is %sabled .", (config.mqtt_enable_remote?"en":"dis")); + debug(1, "mqtt will%s publish raw metadata.", config.mqtt_publish_raw ? "" : " NOT"); + debug(1, "mqtt will%s publish parsed metadata.", config.mqtt_publish_parsed ? "" : " NOT"); + debug(1, "mqtt will%s publish cover Art.", config.mqtt_publish_cover ? "" : " NOT"); + debug(1, "mqtt remote control is %sabled.", config.mqtt_enable_remote ? "en" : "dis"); #endif #ifdef CONFIG_CONVOLUTION