diff options
author | 2017-03-13 19:08:06 -0700 | |
---|---|---|
committer | 2017-03-13 20:19:47 -0700 | |
commit | 4b36a3d9eaaab2f39dcebfcd47f48185be158b49 (patch) | |
tree | ea9a12e45890cad41a4b69725e942ed282662672 /test/core/surface | |
parent | bbb3801e480674695d5f60950724a432f264f170 (diff) |
Change error_create API to slice
Diffstat (limited to 'test/core/surface')
-rw-r--r-- | test/core/surface/concurrent_connectivity_test.c | 3 |
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)); } |