aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/load_reporting
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-06-23 10:15:12 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-06-23 10:15:12 -0700
commit0badbe8b119c7375dfb0f8e6f853180009a2ffb7 (patch)
treecb1e17dcc30d141196c2c62306b73db014df505d /src/core/ext/load_reporting
parentacbf8c290afe4f3f0e690162f17b63df8096280f (diff)
Change grpc_channel_filter init_call_elem() method to return grpc_error.
Diffstat (limited to 'src/core/ext/load_reporting')
-rw-r--r--src/core/ext/load_reporting/load_reporting_filter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/ext/load_reporting/load_reporting_filter.c b/src/core/ext/load_reporting/load_reporting_filter.c
index f372f88c3a..cfe752d6e2 100644
--- a/src/core/ext/load_reporting/load_reporting_filter.c
+++ b/src/core/ext/load_reporting/load_reporting_filter.c
@@ -56,10 +56,12 @@ static void invoke_lr_fn_locked(grpc_load_reporting_config *lrc,
}
/* Constructor for call_data */
-static void init_call_elem(grpc_exec_ctx *exec_ctx, grpc_call_element *elem,
- grpc_call_element_args *args) {
+static grpc_error* init_call_elem(grpc_exec_ctx *exec_ctx,
+ grpc_call_element *elem,
+ grpc_call_element_args *args) {
call_data *calld = elem->call_data;
memset(calld, 0, sizeof(call_data));
+ return GRPC_ERROR_NONE;
}
/* Destructor for call_data */