From d19cf93d1d02b81de46d7d90920978de6e4edab2 Mon Sep 17 00:00:00 2001 From: LRN Date: Thu, 9 Apr 2015 18:22:29 +0000 Subject: [PATCH] Wait on actual HANDLE, not the structure that contains it --- src/util/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/network.c b/src/util/network.c index 7a849b74a..8b30f2d47 100644 --- a/src/util/network.c +++ b/src/util/network.c @@ -1789,7 +1789,7 @@ check_handles_status (struct GNUNET_NETWORK_FDSet *fds, } else { - if (WAIT_OBJECT_0 == WaitForSingleObject (fh, 0)) + if (WAIT_OBJECT_0 == WaitForSingleObject (fh->h, 0)) fds->handles[woff++] = fh; } } -- 2.25.1