aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel/channel_stack_test.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-06 14:26:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-06 14:26:12 -0700
commitf707d62db625e3929680d165f2fbc67f9c8d3f9c (patch)
tree0741e3319b8a90ffe177752e8743db416de4f066 /test/core/channel/channel_stack_test.c
parentddad97899654c1eb3805ec165e842f8f465702a1 (diff)
Convert tests to new error scheme
Diffstat (limited to 'test/core/channel/channel_stack_test.c')
-rw-r--r--test/core/channel/channel_stack_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/channel/channel_stack_test.c b/test/core/channel/channel_stack_test.c
index 1a5594bde8..cba186da09 100644
--- a/test/core/channel/channel_stack_test.c
+++ b/test/core/channel/channel_stack_test.c
@@ -81,12 +81,13 @@ static char *get_peer(grpc_exec_ctx *exec_ctx, grpc_call_element *elem) {
return gpr_strdup("peer");
}
-static void free_channel(grpc_exec_ctx *exec_ctx, void *arg, bool success) {
+static void free_channel(grpc_exec_ctx *exec_ctx, void *arg,
+ grpc_error *error) {
grpc_channel_stack_destroy(exec_ctx, arg);
gpr_free(arg);
}
-static void free_call(grpc_exec_ctx *exec_ctx, void *arg, bool success) {
+static void free_call(grpc_exec_ctx *exec_ctx, void *arg, grpc_error *error) {
grpc_call_stack_destroy(exec_ctx, arg, NULL);
gpr_free(arg);
}