call on_timeout with status 0 (success)

This commit is contained in:
Mike Morris
2014-10-10 14:47:33 -04:00
parent 35f2c7fe23
commit 6e8e50e371

View File

@@ -263,7 +263,7 @@ void on_timeout(uv_timer_t *, int status) {
void start_timeout(CURLM *, long timeout_ms, void *) {
if (timeout_ms <= 0) {
on_timeout(&timeout);
on_timeout(&timeout, 0);
} else {
uv_timer_start(&timeout, on_timeout, timeout_ms, 0);
}