From 0f7874cbfc01da339cc6be221351ddffdb37805d Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Mon, 22 Nov 2004 13:23:25 +0000 Subject: 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 --- os/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/io.c') 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) -- cgit v1.2.3