aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-21 22:38:10 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-21 22:38:10 +0000
commitea907a5c767e7e884adf605cea358bb45246d6c3 (patch)
treeffa337c2d82b34d82f3082e185abe8ee75d57829 /src/util
parente8ee5c4c4069c159baabaa4071f066a7453e44c2 (diff)
downloadgnunet-ea907a5c767e7e884adf605cea358bb45246d6c3.tar.gz
gnunet-ea907a5c767e7e884adf605cea358bb45246d6c3.zip
-LRN: Pipe-errors-will-trigger-ready-to-read-event
Diffstat (limited to 'src/util')
-rw-r--r--src/util/network.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/util/network.c b/src/util/network.c
index d8c64276b..fb8744af1 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -1319,12 +1319,15 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
1319 handle_array[nhandles++] = fh->oOverlapRead->hEvent; 1319 handle_array[nhandles++] = fh->oOverlapRead->hEvent;
1320 readArray[readPipes++] = fh; 1320 readArray[readPipes++] = fh;
1321 } 1321 }
1322 /* 1322 else
1323 * else 1323 {
1324 * { 1324#if DEBUG_NETWORK
1325 * SetErrnoFromWinError (error_code); 1325 LOG (GNUNET_ERROR_TYPE_DEBUG,
1326 * } 1326 "Read failed, adding the read ready event to the array as %d\n", nhandles);
1327 */ 1327#endif
1328 handle_array[nhandles++] = hEventReadReady;
1329 readArray[readPipes++] = fh;
1330 }
1328 } 1331 }
1329 else 1332 else
1330 { 1333 {