summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-08-19 07:27:38 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-08-19 07:27:38 (GMT)
commit2de1adfb8eee36728ac4075593e078577698c92a (patch)
tree628dd209c4a80d644bc165342c20bb95177af291
parentf0a8feed9e9b4de10df76faa350201edaef98f1d (diff)
downloadQt-2de1adfb8eee36728ac4075593e078577698c92a.zip
Qt-2de1adfb8eee36728ac4075593e078577698c92a.tar.gz
Qt-2de1adfb8eee36728ac4075593e078577698c92a.tar.bz2
As far as we know the bug int the Open C,
regarding SO_REUSEPORT behaviour should be fixed at the moment (1.5.5 Beta).
-rw-r--r--src/network/socket/qnativesocketengine_unix.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/network/socket/qnativesocketengine_unix.cpp b/src/network/socket/qnativesocketengine_unix.cpp
index 8a826cc..df9b7b4 100644
--- a/src/network/socket/qnativesocketengine_unix.cpp
+++ b/src/network/socket/qnativesocketengine_unix.cpp
@@ -304,9 +304,7 @@ bool QNativeSocketEnginePrivate::setOption(QNativeSocketEngine::SocketOption opt
return true;
}
case QNativeSocketEngine::AddressReusable:
-#ifdef Q_OS_SYMBIAN
- n = SO_REUSEADDR;
-#elif SO_REUSEPORT
+#ifdef SO_REUSEPORT
n = SO_REUSEPORT;
#else
n = SO_REUSEADDR;