mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
multi: Condition 'extrawait' is always true
Reported by Codacy. Reviewed-by: Marcel Raad Closes #5759
This commit is contained in:
parent
c71d8bb56d
commit
ca567dc5a4
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user