aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/easy.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/easy.c b/lib/easy.c
index b047dbc19..caab2629a 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -703,12 +703,7 @@ static CURLcode easy_transfer(CURLM *multi)
mcode = curl_multi_wait(multi, NULL, 0, 1000, &ret);
if(mcode == CURLM_OK) {
- if(ret == -1) {
- /* poll() failed not on EINTR, indicate a network problem */
- result = CURLE_RECV_ERROR;
- break;
- }
- else if(ret == 0) {
+ if(ret == 0) {
struct timeval after = curlx_tvnow();
/* If it returns without any filedescriptor instantly, we need to
avoid busy-looping during periods where it has nothing particular