diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-12-26 16:39:20 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-26 16:39:20 +0100 |
commit | 1557829c6c69f481d8d5b2cfb92cfab3d3f80dd4 (patch) | |
tree | 95a386bd03f184806d6d43e98fda86c91e6d52b7 /lib/transfer.c | |
parent | 6b4c9b8ae0f6283ed8282d56222dd42c119a14a3 (diff) | |
download | curl-bagder/aws-macro-warning.tar.gz |
fixup more empty expressions fixedbagder/aws-macro-warning
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 |