summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-12-10 10:27:32 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-12-10 10:27:32 (GMT)
commitcb7a89049f1e41edf02aaab56a00cef8c6005eba (patch)
treee837ec91db9c6118f17cf777edaaac25b1fc7d1a /src/corelib
parent9c3967b7738b50655a7b9d6a5a0e89fdf2afc1df (diff)
downloadQt-cb7a89049f1e41edf02aaab56a00cef8c6005eba.zip
Qt-cb7a89049f1e41edf02aaab56a00cef8c6005eba.tar.gz
Qt-cb7a89049f1e41edf02aaab56a00cef8c6005eba.tar.bz2
Fixes for socket engine autotest failures
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/kernel/qcore_symbian_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qcore_symbian_p.cpp b/src/corelib/kernel/qcore_symbian_p.cpp
index ede8464..fdae31b 100644
--- a/src/corelib/kernel/qcore_symbian_p.cpp
+++ b/src/corelib/kernel/qcore_symbian_p.cpp
@@ -283,7 +283,7 @@ int QSymbianSocketManager::lookupSocket(const RSocket& socket) const {
bool QSymbianSocketManager::lookupSocket(int fd, RSocket& socket) const {
QMutexLocker l(&iMutex);
- int id = fd + socket_offset;
+ int id = fd - socket_offset;
if(!reverseSocketMap.contains(id))
return false;
socket = reverseSocketMap.value(id);