diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/network.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/network.c b/src/util/network.c index 320304fe2..3be21599e 100644 --- a/src/util/network.c +++ b/src/util/network.c | |||
@@ -1531,7 +1531,12 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds, | |||
1531 | "Peek at read pipe %d (0x%x) returned %d (%d bytes available) GLE %u\n", | 1531 | "Peek at read pipe %d (0x%x) returned %d (%d bytes available) GLE %u\n", |
1532 | i, readArray[i]->h, bret, waitstatus, error); | 1532 | i, readArray[i]->h, bret, waitstatus, error); |
1533 | #endif | 1533 | #endif |
1534 | if (bret == 0 || waitstatus <= 0) | 1534 | if (bret == 0) |
1535 | { | ||
1536 | if (error != ERROR_BROKEN_PIPE) | ||
1537 | continue; | ||
1538 | } | ||
1539 | else if (waitstatus <= 0) | ||
1535 | continue; | 1540 | continue; |
1536 | GNUNET_CONTAINER_slist_add (handles_read, | 1541 | GNUNET_CONTAINER_slist_add (handles_read, |
1537 | GNUNET_CONTAINER_SLIST_DISPOSITION_TRANSIENT, | 1542 | GNUNET_CONTAINER_SLIST_DISPOSITION_TRANSIENT, |