summaryrefslogtreecommitdiffstats
path: root/src/net/pvsServerConnection.cpp
diff options
context:
space:
mode:
authorJohann Latocha2010-09-01 01:02:39 +0200
committerJohann Latocha2010-09-01 01:02:39 +0200
commitf6fca1c3c5279c820be3860b0074831f920219d6 (patch)
tree66c9568114734b8a4e7fa55c1e1626f2ccefa243 /src/net/pvsServerConnection.cpp
parentMissing return statement (diff)
downloadpvs-f6fca1c3c5279c820be3860b0074831f920219d6.tar.gz
pvs-f6fca1c3c5279c820be3860b0074831f920219d6.tar.xz
pvs-f6fca1c3c5279c820be3860b0074831f920219d6.zip
All printf() replaced with qDebug()
Diffstat (limited to 'src/net/pvsServerConnection.cpp')
-rw-r--r--src/net/pvsServerConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/pvsServerConnection.cpp b/src/net/pvsServerConnection.cpp
index 04a1ef6..d187ce3 100644
--- a/src/net/pvsServerConnection.cpp
+++ b/src/net/pvsServerConnection.cpp
@@ -70,7 +70,7 @@ void PVSServerConnection::sslErrors ( const QList<QSslError> & errors )
for (QList<QSslError>::const_iterator it = errors.begin(); it != errors.end(); it++)
{
QSslError err = *it;
- printf("Connect SSL: %s\n", err.errorString().toUtf8().data());
+ qDebug("Connect SSL: %s", qPrintable(err.errorString()));
if (err.error() == QSslError::HostNameMismatch) continue; // We don't pay attention to hostnames for validation
if (err.error() == QSslError::SelfSignedCertificate) continue; // Also, this will always be the case; we check the fingerprint later
ConsoleLog writeNetwork(err.errorString().toUtf8().data());