From 451b9c10c42b5488178d7b165c0c9c90321a232a Mon Sep 17 00:00:00 2001 From: axis Date: Thu, 6 Aug 2009 15:52:18 +0200 Subject: Fixed wrong ifdef. RevBy: Jason Barron --- src/network/socket/qnativesocketengine_unix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/socket/qnativesocketengine_unix.cpp b/src/network/socket/qnativesocketengine_unix.cpp index 423050e..547ffae 100644 --- a/src/network/socket/qnativesocketengine_unix.cpp +++ b/src/network/socket/qnativesocketengine_unix.cpp @@ -77,8 +77,6 @@ QT_BEGIN_NAMESPACE -#if defined QNATIVESOCKETENGINE_DEBUG - static inline int qt_socket_connect(int s, const struct sockaddr * addrptr, socklen_t namelen) { return ::connect(s, addrptr, namelen); @@ -205,6 +203,8 @@ static inline int qt_socket_setsockopt(int socket, int level, int optname, void # undef setsockopt #endif +#if defined QNATIVESOCKETENGINE_DEBUG + /* Returns a human readable representation of the first \a len characters in \a data. -- cgit v0.12