aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/thread_stress.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/tests/thread_stress.c')
-rw-r--r--test/core/end2end/tests/thread_stress.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/core/end2end/tests/thread_stress.c b/test/core/end2end/tests/thread_stress.c
index 29944d84f9..4100b0e35d 100644
--- a/test/core/end2end/tests/thread_stress.c
+++ b/test/core/end2end/tests/thread_stress.c
@@ -187,10 +187,9 @@ static void request_server_call() {
}
static void maybe_end_server_call(grpc_call *call, gpr_refcount *rc) {
- grpc_status ok_status = {GRPC_STATUS_OK, NULL};
if (gpr_unref(rc)) {
GPR_ASSERT(GRPC_CALL_OK ==
- grpc_call_start_write_status(call, ok_status, NULL));
+ grpc_call_start_write_status(call, GRPC_STATUS_OK, NULL, NULL));
gpr_free(rc);
}
}