summaryrefslogtreecommitdiff
path: root/os/io.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-11-22 13:23:25 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-11-22 13:23:25 +0000
commit0f7874cbfc01da339cc6be221351ddffdb37805d (patch)
treec3586ae46745ae4ec477113cb3b604c498459605 /os/io.c
parente6bc551e3451efe4fcbb55475d6d0ff53fcc9807 (diff)
Use a simple hashtable as ConnectionTranslation instead of a plain array on
Windows because socket fds are not sequential and do not start at 0
Diffstat (limited to 'os/io.c')
-rw-r--r--os/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/io.c b/os/io.c
index 75aebcb5e..1da494254 100644
--- a/os/io.c
+++ b/os/io.c
@@ -864,7 +864,7 @@ FlushAllOutput(void)
for (base = 0; base < XFD_SETCOUNT(&OutputPending); base++)
{
index = XFD_FD(&OutputPending, base);
- if ((index = ConnectionTranslation[index]) == 0)
+ if ((index = GetConnectionTranslation(index)) == 0)
continue;
client = clients[index];
if (client->clientGone)