diff options
author | 2016-04-05 17:15:07 -0700 | |
---|---|---|
committer | 2016-04-05 17:15:07 -0700 | |
commit | f82ddc4c78ed602ff2135a45804d8fb3415198a6 (patch) | |
tree | 08d353378e6332f2ebd5499ce830ab90d44d2952 /src/core/lib/surface/channel_init.c | |
parent | 859fb06e80d63255ba614ad8c7fc91df50bd101b (diff) |
Nailing down dependencies better
Diffstat (limited to 'src/core/lib/surface/channel_init.c')
-rw-r--r-- | src/core/lib/surface/channel_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/surface/channel_init.c b/src/core/lib/surface/channel_init.c index fc69f61f77..d0dd722ae0 100644 --- a/src/core/lib/surface/channel_init.c +++ b/src/core/lib/surface/channel_init.c @@ -125,13 +125,14 @@ static const char *name_for_type(grpc_channel_stack_type type) { void *grpc_channel_init_create_stack( grpc_exec_ctx *exec_ctx, grpc_channel_stack_type type, size_t prefix_bytes, const grpc_channel_args *args, int initial_refs, grpc_iomgr_cb_func destroy, - void *destroy_arg, grpc_transport *transport) { + void *destroy_arg, grpc_transport *transport, const char *target) { GPR_ASSERT(g_finalized); grpc_channel_stack_builder *builder = grpc_channel_stack_builder_create(); grpc_channel_stack_builder_set_name(builder, name_for_type(type)); grpc_channel_stack_builder_set_channel_arguments(builder, args); grpc_channel_stack_builder_set_transport(builder, transport); + grpc_channel_stack_builder_set_target(builder, target); for (size_t i = 0; i < g_slots[type].num_slots; i++) { const stage_slot *slot = &g_slots[type].slots[i]; |