summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/timer.c
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-02-21 15:42:26 -0500
committercjihrig <cjihrig@gmail.com>2018-02-23 09:51:30 -0500
commit3a191229418dcc0e21956847993b1702c88a923b (patch)
tree23def7030d5bb38b47880a827d3e85576cac2008 /deps/uv/src/unix/timer.c
parent3cef3e61d647d3dd2107087d876a3a02e0c3961e (diff)
downloadandroid-node-v8-3a191229418dcc0e21956847993b1702c88a923b.tar.gz
android-node-v8-3a191229418dcc0e21956847993b1702c88a923b.tar.bz2
android-node-v8-3a191229418dcc0e21956847993b1702c88a923b.zip
deps: upgrade libuv to 1.19.2
PR-URL: https://github.com/nodejs/node/pull/18918 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'deps/uv/src/unix/timer.c')
-rw-r--r--deps/uv/src/unix/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/uv/src/unix/timer.c b/deps/uv/src/unix/timer.c
index f46bdf4bf5..54dabfe7df 100644
--- a/deps/uv/src/unix/timer.c
+++ b/deps/uv/src/unix/timer.c
@@ -66,7 +66,7 @@ int uv_timer_start(uv_timer_t* handle,
uint64_t clamped_timeout;
if (cb == NULL)
- return -EINVAL;
+ return UV_EINVAL;
if (uv__is_active(handle))
uv_timer_stop(handle);
@@ -105,7 +105,7 @@ int uv_timer_stop(uv_timer_t* handle) {
int uv_timer_again(uv_timer_t* handle) {
if (handle->timer_cb == NULL)
- return -EINVAL;
+ return UV_EINVAL;
if (handle->repeat) {
uv_timer_stop(handle);