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/lib/surface/server.c | |
parent | acbf8c290afe4f3f0e690162f17b63df8096280f (diff) |
Change grpc_channel_filter init_call_elem() method to return grpc_error.
Diffstat (limited to 'src/core/lib/surface/server.c')
-rw-r--r-- | src/core/lib/surface/server.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/lib/surface/server.c b/src/core/lib/surface/server.c index def6e5068b..0a0c224b4d 100644 --- a/src/core/lib/surface/server.c +++ b/src/core/lib/surface/server.c @@ -848,8 +848,9 @@ static void channel_connectivity_changed(grpc_exec_ctx *exec_ctx, void *cd, } } -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; channel_data *chand = elem->channel_data; memset(calld, 0, sizeof(call_data)); @@ -861,6 +862,7 @@ static void init_call_elem(grpc_exec_ctx *exec_ctx, grpc_call_element *elem, server_on_recv_initial_metadata, elem); server_ref(chand->server); + return GRPC_ERROR_NONE; } static void destroy_call_elem(grpc_exec_ctx *exec_ctx, grpc_call_element *elem, |