diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-22 13:23:25 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-22 13:23:25 +0000 |
commit | 0f7874cbfc01da339cc6be221351ddffdb37805d (patch) | |
tree | c3586ae46745ae4ec477113cb3b604c498459605 /os/WaitFor.c | |
parent | e6bc551e3451efe4fcbb55475d6d0ff53fcc9807 (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/WaitFor.c')
-rw-r--r-- | os/WaitFor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c index 20a8b6c38..e854049ec 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -376,7 +376,7 @@ WaitForSomething(int *pClientsReady) int client_priority, client_index; curclient = XFD_FD(&savedClientsReadable, i); - client_index = ConnectionTranslation[curclient]; + client_index = GetConnectionTranslation(curclient); #endif #ifdef XSYNC /* We implement "strict" priorities. |