summaryrefslogtreecommitdiffstats
path: root/libktorrent/net/uploadthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/net/uploadthread.cpp')
-rw-r--r--libktorrent/net/uploadthread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/net/uploadthread.cpp b/libktorrent/net/uploadthread.cpp
index 0023cf6..3d2fa0a 100644
--- a/libktorrent/net/uploadthread.cpp
+++ b/libktorrent/net/uploadthread.cpp
@@ -52,9 +52,9 @@ namespace net
BufferedSocket* s = *itr;
if (s && s->ok() && s->bytesReadyToWrite())
{
- SocketGroup* g = groups.find(s->uploadGroupID());
+ SocketGroup* g = groups.tqfind(s->uploadGroupID());
if (!g)
- g = groups.find(0);
+ g = groups.tqfind(0);
g->add(s);
num_ready++;