diff options
author | ncteisen <ncteisen@gmail.com> | 2017-06-08 14:57:11 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-06-08 15:29:29 -0700 |
commit | 274bbbe6a0bd56651d48d974e1ccd80cf68689df (patch) | |
tree | 240da3d682eea3d09fdb79c21157462c7fe37a74 /src/core/lib/iomgr/tcp_client_uv.c | |
parent | 1621f5e05152a9d0b7c7ca6341d45fd44cf56701 (diff) |
Add rich closure debug mode
Diffstat (limited to 'src/core/lib/iomgr/tcp_client_uv.c')
-rw-r--r-- | src/core/lib/iomgr/tcp_client_uv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/tcp_client_uv.c b/src/core/lib/iomgr/tcp_client_uv.c index f4084339d6..ab6832932f 100644 --- a/src/core/lib/iomgr/tcp_client_uv.c +++ b/src/core/lib/iomgr/tcp_client_uv.c @@ -107,7 +107,7 @@ static void uv_tc_on_connect(uv_connect_t *req, int status) { if (done) { uv_tcp_connect_cleanup(&exec_ctx, connect); } - grpc_closure_sched(&exec_ctx, closure, error); + GRPC_CLOSURE_SCHED(&exec_ctx, closure, error); grpc_exec_ctx_finish(&exec_ctx); } @@ -150,7 +150,7 @@ static void tcp_client_connect_impl(grpc_exec_ctx *exec_ctx, uv_tcp_connect(&connect->connect_req, connect->tcp_handle, (const struct sockaddr *)resolved_addr->addr, uv_tc_on_connect); - grpc_closure_init(&connect->on_alarm, uv_tc_on_alarm, connect, + GRPC_CLOSURE_INIT(&connect->on_alarm, uv_tc_on_alarm, connect, grpc_schedule_on_exec_ctx); grpc_timer_init(exec_ctx, &connect->alarm, gpr_convert_clock_type(deadline, GPR_CLOCK_MONOTONIC), |