diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-01 18:09:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-01 23:21:29 +0200 |
commit | ca567dc5a4da8366eb7c4b88697fe41164c1938b (patch) | |
tree | 64871e21a9450e97aeb5c662440f699f9fe435ec | |
parent | c71d8bb56d43405d7fa1f6d9cf4af2c3cdf4cdf1 (diff) | |
download | curl-ca567dc5a4da8366eb7c4b88697fe41164c1938b.tar.gz |
multi: Condition 'extrawait' is always true
Reported by Codacy.
Reviewed-by: Marcel Raad
Closes #5759
-rw-r--r-- | lib/multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c index 1c3be72fe..75c76e819 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); } |