projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ee5c4
)
-LRN: Pipe-errors-will-trigger-ready-to-read-event
author
Christian Grothoff
<christian@grothoff.org>
Sat, 21 Jan 2012 22:38:10 +0000
(22:38 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 21 Jan 2012 22:38:10 +0000
(22:38 +0000)
src/util/network.c
patch
|
blob
|
history
diff --git
a/src/util/network.c
b/src/util/network.c
index d8c64276bc8f42d75f878a116a7101a58a7951ac..fb8744af186aa4662ae14cc1c724ec7035b54e4f 100644
(file)
--- a/
src/util/network.c
+++ b/
src/util/network.c
@@
-1319,12
+1319,15
@@
GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
handle_array[nhandles++] = fh->oOverlapRead->hEvent;
readArray[readPipes++] = fh;
}
- /*
- * else
- * {
- * SetErrnoFromWinError (error_code);
- * }
- */
+ else
+ {
+#if DEBUG_NETWORK
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Read failed, adding the read ready event to the array as %d\n", nhandles);
+#endif
+ handle_array[nhandles++] = hEventReadReady;
+ readArray[readPipes++] = fh;
+ }
}
else
{