lib/curl/Global: drop redundant ">=0" check
This commit is contained in:
parent
e98a8b624b
commit
3cba76552b
@ -228,7 +228,7 @@ CurlGlobal::TimerFunction(gcc_unused CURLM *_global, long timeout_ms, void *user
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (timeout_ms >= 0 && timeout_ms < 10)
|
||||
if (timeout_ms < 10)
|
||||
/* CURL 7.21.1 likes to report "timeout=0", which
|
||||
means we're running in a busy loop. Quite a bad
|
||||
idea to waste so much CPU. Let's use a lower limit
|
||||
|
Loading…
Reference in New Issue
Block a user