mirror of
https://github.com/curl/curl.git
synced 2026-04-15 06:01:42 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue