removed unnecessry debug output from pqissl

This commit is contained in:
csoler 2018-11-01 21:45:59 +01:00
parent eb078d462e
commit cb5d247565
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -939,8 +939,9 @@ int pqissl::Basic_Connection_Complete()
} }
else if ((err == EHOSTUNREACH) || (err == EHOSTDOWN)) else if ((err == EHOSTUNREACH) || (err == EHOSTDOWN))
{ {
#ifdef PQISSL_DEBUG
rslog(RSL_WARNING, pqisslzone, "pqissl::Basic_Connection_Complete() EHOSTUNREACH/EHOSTDOWN: cert: " + PeerId().toStdString()); rslog(RSL_WARNING, pqisslzone, "pqissl::Basic_Connection_Complete() EHOSTUNREACH/EHOSTDOWN: cert: " + PeerId().toStdString());
#endif
// Then send unreachable message. // Then send unreachable message.
net_internal_close(sockfd); net_internal_close(sockfd);
sockfd=-1; sockfd=-1;
@ -951,7 +952,9 @@ int pqissl::Basic_Connection_Complete()
} }
else if (err == ECONNREFUSED) else if (err == ECONNREFUSED)
{ {
#ifdef PQISSL_DEBUG
rslog(RSL_WARNING, pqisslzone, "pqissl::Basic_Connection_Complete() ECONNREFUSED: cert: " + PeerId().toStdString()); rslog(RSL_WARNING, pqisslzone, "pqissl::Basic_Connection_Complete() ECONNREFUSED: cert: " + PeerId().toStdString());
#endif
// Then send unreachable message. // Then send unreachable message.
net_internal_close(sockfd); net_internal_close(sockfd);