replace my printf calls with qDebug

This commit is contained in:
iTrooz 2024-11-16 23:47:43 +01:00
parent fe28a051d5
commit 0a379a05ff
No known key found for this signature in database
GPG key ID: 8B83F77667B1BC6A
2 changed files with 4 additions and 4 deletions

View file

@ -76,7 +76,7 @@ public:
readBytesExactFromSocket(resp, length-resp.size());
if (length != resp.size()) {
printf("Warning: Packet length doesn't match actual packet size (%d expected vs %d received)\n", length, resp.size());
qDebug() << "Warning: Packet length doesn't match actual packet size (" << length << " expected vs " << resp.size() << " received)";
}
qDebug() << "Received response successfully";