summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.