aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/channel/http_client_filter.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-27 08:59:00 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-12-27 08:59:00 -0800
commitef6938477b5019fea4f0ed7da06cc1f974f29438 (patch)
tree7501942df052fa4d983a3f2f4b0adaf99be317c8 /src/core/lib/channel/http_client_filter.c
parent9a66ba5fe9b0714f2b48c6d3848d9716cdf85b91 (diff)
parent702f93d3645055bd77181935c18f41a9de272c1e (diff)
Merge branch 'slice_with_exec_ctx' into metadata_filter
Diffstat (limited to 'src/core/lib/channel/http_client_filter.c')
-rw-r--r--src/core/lib/channel/http_client_filter.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/lib/channel/http_client_filter.c b/src/core/lib/channel/http_client_filter.c
index 33834adc1d..00459ad7d7 100644
--- a/src/core/lib/channel/http_client_filter.c
+++ b/src/core/lib/channel/http_client_filter.c
@@ -498,9 +498,9 @@ static grpc_slice user_agent_from_args(const grpc_channel_args *args,
}
/* Constructor for channel_data */
-static void init_channel_elem(grpc_exec_ctx *exec_ctx,
- grpc_channel_element *elem,
- grpc_channel_element_args *args) {
+static grpc_error *init_channel_elem(grpc_exec_ctx *exec_ctx,
+ grpc_channel_element *elem,
+ grpc_channel_element_args *args) {
channel_data *chand = elem->channel_data;
GPR_ASSERT(!args->is_last);
GPR_ASSERT(args->optional_transport != NULL);
@@ -511,6 +511,7 @@ static void init_channel_elem(grpc_exec_ctx *exec_ctx,
exec_ctx, GRPC_MDSTR_USER_AGENT,
user_agent_from_args(args->channel_args,
args->optional_transport->vtable->name));
+ return GRPC_ERROR_NONE;
}
/* Destructor for channel data */