aboutsummaryrefslogtreecommitdiff
path: root/src/util/network.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2015-04-09 18:22:29 +0000
committerLRN <lrn1986@gmail.com>2015-04-09 18:22:29 +0000
commitd19cf93d1d02b81de46d7d90920978de6e4edab2 (patch)
tree8ff6a7fc89539b6efeb8de4614edfff9bcc3eece /src/util/network.c
parentb21d33635d68f9aa8ade7324551e0cc718b9b7ba (diff)
downloadgnunet-d19cf93d1d02b81de46d7d90920978de6e4edab2.tar.gz
gnunet-d19cf93d1d02b81de46d7d90920978de6e4edab2.zip
Wait on actual HANDLE, not the structure that contains it
Diffstat (limited to 'src/util/network.c')
-rw-r--r--src/util/network.c2
1 files changed, 1 insertions, 1 deletions
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,
1789 } 1789 }
1790 else 1790 else
1791 { 1791 {
1792 if (WAIT_OBJECT_0 == WaitForSingleObject (fh, 0)) 1792 if (WAIT_OBJECT_0 == WaitForSingleObject (fh->h, 0))
1793 fds->handles[woff++] = fh; 1793 fds->handles[woff++] = fh;
1794 } 1794 }
1795 } 1795 }