diff options
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 96ee77c62..a2a890ecf 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1232,10 +1232,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, } k->now = Curl_now(); - if(didwhat) { - ; - } - else { + if(!didwhat) { /* no read no write, this is a timeout? */ if(k->exp100 == EXP100_AWAITING_CONTINUE) { /* This should allow some time for the header to arrive, but only a |