summaryrefslogtreecommitdiff
path: root/shairport.c
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2019-05-19 13:53:25 +0100
committerMike Brady <mikebrady@eircom.net>2019-05-19 13:53:25 +0100
commit9fd4a397294f6f792011a8767914a088ba6adc97 (patch)
treeea24433d006434947775d69a31b76f1d2dd5b188 /shairport.c
parentb6ef81a9751bbfb36b1771b405024eda5de62ed3 (diff)
check for a couple of divide-by-zero possiblities.
Diffstat (limited to 'shairport.c')
-rw-r--r--shairport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shairport.c b/shairport.c
index bb790c6..9e9400b 100644
--- a/shairport.c
+++ b/shairport.c
@@ -1764,9 +1764,9 @@ int main(int argc, char **argv) {
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 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