From ca567dc5a4da8366eb7c4b88697fe41164c1938b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 1 Aug 2020 18:09:21 +0200 Subject: [PATCH] multi: Condition 'extrawait' is always true Reported by Codacy. Reviewed-by: Marcel Raad Closes #5759 --- lib/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/multi.c b/lib/multi.c index 1c3be72fee..75c76e8190 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1281,7 +1281,7 @@ static CURLMcode Curl_multi_wait(struct Curl_multi *multi, sleep_ms = timeout_ms; /* when there are no easy handles in the multi, this holds a -1 timeout */ - else if((sleep_ms < 0) && extrawait) + else if(sleep_ms < 0) sleep_ms = timeout_ms; Curl_wait_ms(sleep_ms); } -- 2.47.2