From bdaf51a0741db853ce753467cc7381e069a020a4 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 5 Nov 2020 11:30:48 +0000 Subject: [PATCH] Comment out diagnostic prints --- Configuration.cpp | 4 ++-- Network/MessageClient.cpp | 2 +- UDPExamples/MessageServer.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Configuration.cpp b/Configuration.cpp index 7f68bb417..a13dc2723 100644 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -2418,7 +2418,7 @@ void Configuration::impl::on_udp_server_line_edit_editingFinished () if (server.size () && ha.isNull ()) { // queue a host address lookup - qDebug () << "server host DNS lookup:" << server; + // qDebug () << "server host DNS lookup:" << server; #if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0) dns_lookup_id_ = QHostInfo::lookupHost (server, this, &Configuration::impl::host_info_results); #else @@ -2443,7 +2443,7 @@ void Configuration::impl::host_info_results (QHostInfo host_info) else { auto const& server_addresses = host_info.addresses (); - qDebug () << "message server addresses:" << server_addresses; + // qDebug () << "message server addresses:" << server_addresses; if (server_addresses.size ()) { check_multicast (server_addresses[0]); diff --git a/Network/MessageClient.cpp b/Network/MessageClient.cpp index 2e721d5f7..5ac6a41c1 100644 --- a/Network/MessageClient.cpp +++ b/Network/MessageClient.cpp @@ -179,7 +179,7 @@ void MessageClient::impl::start () // bind to an ephemeral port on the selected interface and set // up for sending datagrams bind (interface_addr); - qDebug () << "Bound to UDP port:" << localPort () << "on:" << localAddress (); + // qDebug () << "Bound to UDP port:" << localPort () << "on:" << localAddress (); // set multicast TTL to limit scope when sending to multicast // group addresses diff --git a/UDPExamples/MessageServer.cpp b/UDPExamples/MessageServer.cpp index 6745fe0a7..8aadd08a6 100644 --- a/UDPExamples/MessageServer.cpp +++ b/UDPExamples/MessageServer.cpp @@ -434,7 +434,7 @@ MessageServer::MessageServer (QObject * parent, QString const& version, QString void MessageServer::start (port_type port, QHostAddress const& multicast_group_address , QSet const& network_interface_names) { - qDebug () << "MessageServer::start port:" << port << "multicast addr:" << multicast_group_address.toString () << "network interfaces:" << network_interface_names; + // qDebug () << "MessageServer::start port:" << port << "multicast addr:" << multicast_group_address.toString () << "network interfaces:" << network_interface_names; if (port != m_->localPort () || multicast_group_address != m_->multicast_group_address_ || network_interface_names != m_->network_interfaces_)