aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-03-13 19:08:06 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2017-03-13 20:19:47 -0700
commit4b36a3d9eaaab2f39dcebfcd47f48185be158b49 (patch)
treeea9a12e45890cad41a4b69725e942ed282662672 /test/core/surface
parentbbb3801e480674695d5f60950724a432f264f170 (diff)
Change error_create API to slice
Diffstat (limited to 'test/core/surface')
-rw-r--r--test/core/surface/concurrent_connectivity_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/surface/concurrent_connectivity_test.c b/test/core/surface/concurrent_connectivity_test.c
index ff927385d4..2f7c3dfb85 100644
--- a/test/core/surface/concurrent_connectivity_test.c
+++ b/test/core/surface/concurrent_connectivity_test.c
@@ -109,7 +109,8 @@ static void on_connect(grpc_exec_ctx *exec_ctx, void *vargs, grpc_endpoint *tcp,
grpc_tcp_server_acceptor *acceptor) {
gpr_free(acceptor);
struct server_thread_args *args = (struct server_thread_args *)vargs;
- grpc_endpoint_shutdown(exec_ctx, tcp, GRPC_ERROR_CREATE("Connected"));
+ grpc_endpoint_shutdown(exec_ctx, tcp,
+ GRPC_ERROR_CREATE_FROM_STATIC_STRING("Connected"));
grpc_endpoint_destroy(exec_ctx, tcp);
GRPC_LOG_IF_ERROR("pollset_kick", grpc_pollset_kick(args->pollset, NULL));
}