aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wx/Platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/Platform.cpp b/src/wx/Platform.cpp
index b925e24..4a60184 100644
--- a/src/wx/Platform.cpp
+++ b/src/wx/Platform.cpp
@@ -224,7 +224,7 @@ int MP_RecvPacket(u8* data, bool block)
tv.tv_sec = 0;
tv.tv_usec = 0;
- if (!select(1, &fd, 0, 0, &tv))
+ if (!select(MPSocket+1, &fd, 0, 0, &tv))
{
return 0;
}