summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-08-21 09:44:33 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-08-21 09:49:34 (GMT)
commit86344a53e4dfad7691df6a9e40c828475ca57bd3 (patch)
tree90c4a176d9c5d510a580b284a458fcc7c538168e /src/network
parentfa35a5aaab2d99b174be68d8b3e9c6c29a41ccf0 (diff)
downloadQt-86344a53e4dfad7691df6a9e40c828475ca57bd3.zip
Qt-86344a53e4dfad7691df6a9e40c828475ca57bd3.tar.gz
Qt-86344a53e4dfad7691df6a9e40c828475ca57bd3.tar.bz2
Fixing compile issue on platforms other than Symbian.
I had a "typo", probelmatic line have be just swaped. Reviewed-by: jbarron
Diffstat (limited to 'src/network')
-rw-r--r--src/network/socket/qnativesocketengine_unix.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/socket/qnativesocketengine_unix.cpp b/src/network/socket/qnativesocketengine_unix.cpp
index b5d1232..332bc6d 100644
--- a/src/network/socket/qnativesocketengine_unix.cpp
+++ b/src/network/socket/qnativesocketengine_unix.cpp
@@ -944,15 +944,15 @@ int QNativeSocketEnginePrivate::nativeSelect(int timeout, bool selectForRead) co
int retval;
if (selectForRead)
#ifdef Q_OS_SYMBIAN
- retval = ::select(socketDescriptor + 1, &fds, 0, 0, timeout < 0 ? 0 : &tv);
+ retval = ::select(socketDescriptor + 1, &fds, 0, &fdexception, timeout < 0 ? 0 : &tv);
#else
- retval = qt_safe_select(socketDescriptor + 1, &fds, 0, &fdexception, timeout < 0 ? 0 : &tv);
+ retval = qt_safe_select(socketDescriptor + 1, &fds, 0, 0, timeout < 0 ? 0 : &tv);
#endif
else
#ifdef Q_OS_SYMBIAN
- retval = ::select(socketDescriptor + 1, 0, &fds, 0, timeout < 0 ? 0 : &tv);
+ retval = ::select(socketDescriptor + 1, 0, &fds, &fdexception, timeout < 0 ? 0 : &tv);
#else
- retval = qt_safe_select(socketDescriptor + 1, 0, &fds, &fdexception, timeout < 0 ? 0 : &tv);
+ retval = qt_safe_select(socketDescriptor + 1, 0, &fds, 0, timeout < 0 ? 0 : &tv);
#endif