From 1557829c6c69f481d8d5b2cfb92cfab3d3f80dd4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 26 Dec 2020 16:39:20 +0100 Subject: fixup more empty expressions fixed --- lib/transfer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/transfer.c') 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 -- cgit v1.2.1