diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-01 18:09:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-01 18:09:21 +0200 |
commit | f7deb69dd4427bbd3bc20004d3787ad7ef105bcf (patch) | |
tree | 64871e21a9450e97aeb5c662440f699f9fe435ec | |
parent | c71d8bb56d43405d7fa1f6d9cf4af2c3cdf4cdf1 (diff) | |
download | curl-bagder/multi-extrawait.tar.gz |
multi: Condition 'extrawait' is always truebagder/multi-extrawait
Reported by Codacy.
-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); } |