Change debug output to use stream version of debug.
df757e30f8
may have fixed this for one platform,
but different platforms appear to have different ideas on what constitutes a FD.
Just use the stream operator to avoid having to face this nightmare all the
time.
Change-Id: I298c5a4b31e8a4af6b613d039cb9aee6e8263b5a
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
This commit is contained in:
parent
7680108054
commit
d11530c2a1
@ -363,7 +363,7 @@ bool QNativeSocketEnginePrivate::setOption(QNativeSocketEngine::SocketOption opt
|
||||
bool QNativeSocketEnginePrivate::nativeConnect(const QHostAddress &addr, quint16 port)
|
||||
{
|
||||
#ifdef QNATIVESOCKETENGINE_DEBUG
|
||||
qDebug("QNativeSocketEnginePrivate::nativeConnect() : %lli", socketDescriptor);
|
||||
qDebug() << "QNativeSocketEnginePrivate::nativeConnect() " << socketDescriptor;
|
||||
#endif
|
||||
|
||||
struct sockaddr_in sockAddrIPv4;
|
||||
|
Loading…
Reference in New Issue
Block a user