summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qnativesocketengine_unix.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-06 13:52:18 (GMT)
committeraxis <qt-info@nokia.com>2009-08-06 13:52:18 (GMT)
commit451b9c10c42b5488178d7b165c0c9c90321a232a (patch)
treed9d622ccacf5f27a4b26a8ba91e457dcbaa192af /src/network/socket/qnativesocketengine_unix.cpp
parentda8dc7678be2ae594e27ee5431d8f426fbc0aff3 (diff)
downloadQt-451b9c10c42b5488178d7b165c0c9c90321a232a.zip
Qt-451b9c10c42b5488178d7b165c0c9c90321a232a.tar.gz
Qt-451b9c10c42b5488178d7b165c0c9c90321a232a.tar.bz2
Fixed wrong ifdef.
RevBy: Jason Barron
Diffstat (limited to 'src/network/socket/qnativesocketengine_unix.cpp')
-rw-r--r--src/network/socket/qnativesocketengine_unix.cpp4
1 files 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.