diff options
author | 2016-06-23 10:15:12 -0700 | |
---|---|---|
committer | 2016-06-23 10:15:12 -0700 | |
commit | 0badbe8b119c7375dfb0f8e6f853180009a2ffb7 (patch) | |
tree | cb1e17dcc30d141196c2c62306b73db014df505d /src/core/ext/load_reporting | |
parent | acbf8c290afe4f3f0e690162f17b63df8096280f (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.c | 6 |
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 */ |