comment out some debug output -> too much output.
This commit is contained in:
@@ -56,7 +56,7 @@ void IsmasClient::printDebugMessage(int port,
|
|||||||
QString const &clientIP,
|
QString const &clientIP,
|
||||||
int clientPort,
|
int clientPort,
|
||||||
QString const &message) {
|
QString const &message) {
|
||||||
#if 1
|
#if 0
|
||||||
Q_UNUSED(port);
|
Q_UNUSED(port);
|
||||||
Q_UNUSED(clientIP);
|
Q_UNUSED(clientIP);
|
||||||
Q_UNUSED(clientPort);
|
Q_UNUSED(clientPort);
|
||||||
@@ -77,7 +77,7 @@ void IsmasClient::printInfoMessage(int port,
|
|||||||
QString const &clientIP,
|
QString const &clientIP,
|
||||||
int clientPort,
|
int clientPort,
|
||||||
QString const &message) {
|
QString const &message) {
|
||||||
#if 1
|
#if 0
|
||||||
Q_UNUSED(port);
|
Q_UNUSED(port);
|
||||||
Q_UNUSED(clientIP);
|
Q_UNUSED(clientIP);
|
||||||
Q_UNUSED(clientPort);
|
Q_UNUSED(clientPort);
|
||||||
@@ -315,7 +315,7 @@ IsmasClient::sendRequestReceiveResponse(int port, QString const &request) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printInfoMessage(port, clientIP, clientPort, QString("MESSAGE RECEIVED ") + buf);
|
// printInfoMessage(port, clientIP, clientPort, QString("MESSAGE RECEIVED ") + buf);
|
||||||
QString response(buf);
|
QString response(buf);
|
||||||
|
|
||||||
if (int idx = response.indexOf("{\"error\":\"ISMAS is offline\"}")) {
|
if (int idx = response.indexOf("{\"error\":\"ISMAS is offline\"}")) {
|
||||||
|
Reference in New Issue
Block a user