diff options
author | Saúl Ibarra Corretgé <saghul@gmail.com> | 2014-03-13 00:08:29 +0100 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-04-07 16:37:20 +0400 |
commit | 42b93437102e63ded3e09bbeb24dc96d5b1b62f6 (patch) | |
tree | 07b065cd4f65696bae6fecd5606acffd44ad63c1 /src/cares_wrap.cc | |
parent | 962f96d3416ee00c78e729bc1c1b05e02d0c1ef2 (diff) | |
download | node-new-42b93437102e63ded3e09bbeb24dc96d5b1b62f6.tar.gz |
src: update uv callbacks after API changes
async, timer, prepare, idle and check handles no longer get a status
parameter since they can never fail.
Diffstat (limited to 'src/cares_wrap.cc')
-rw-r--r-- | src/cares_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc index 1b998694a9..a7bfeda0fd 100644 --- a/src/cares_wrap.cc +++ b/src/cares_wrap.cc @@ -80,7 +80,7 @@ RB_GENERATE_STATIC(ares_task_list, ares_task_t, node, cmp_ares_tasks) /* This is called once per second by loop->timer. It is used to constantly */ /* call back into c-ares for possibly processing timeouts. */ -static void ares_timeout(uv_timer_t* handle, int status) { +static void ares_timeout(uv_timer_t* handle) { Environment* env = Environment::from_cares_timer_handle(handle); assert(!RB_EMPTY(env->cares_task_list())); ares_process_fd(env->cares_channel(), ARES_SOCKET_BAD, ARES_SOCKET_BAD); |