aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/channel_connectivity.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-22 10:54:34 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-22 10:54:34 -0700
commitf5768a6765cae20477f36b346ce18bfb44fe2e25 (patch)
tree786f7bbc9f7b572f02c385c15bd22ccbb1ea2b99 /src/core/surface/channel_connectivity.c
parent098047b53abfb3142b0dc9eca83564cd565902b7 (diff)
Rename init
Diffstat (limited to 'src/core/surface/channel_connectivity.c')
-rw-r--r--src/core/surface/channel_connectivity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/surface/channel_connectivity.c b/src/core/surface/channel_connectivity.c
index c021ea3db0..30017b3b9f 100644
--- a/src/core/surface/channel_connectivity.c
+++ b/src/core/surface/channel_connectivity.c
@@ -45,7 +45,7 @@ grpc_channel_check_connectivity_state (grpc_channel * channel, int try_to_connec
{
/* forward through to the underlying client channel */
grpc_channel_element *client_channel_elem = grpc_channel_stack_last_element (grpc_channel_get_channel_stack (channel));
- grpc_closure_list closure_list = GRPC_CLOSURE_LIST_INIT;
+ grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
grpc_connectivity_state state;
if (client_channel_elem->filter != &grpc_client_channel_filter)
{
@@ -180,7 +180,7 @@ void
grpc_channel_watch_connectivity_state (grpc_channel * channel, grpc_connectivity_state last_observed_state, gpr_timespec deadline, grpc_completion_queue * cq, void *tag)
{
grpc_channel_element *client_channel_elem = grpc_channel_stack_last_element (grpc_channel_get_channel_stack (channel));
- grpc_closure_list closure_list = GRPC_CLOSURE_LIST_INIT;
+ grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
state_watcher *w = gpr_malloc (sizeof (*w));
grpc_cq_begin_op (cq);