Skip to content
Snippets Groups Projects
Commit 02fb54ea authored by Julien Boeuf's avatar Julien Boeuf
Browse files

Fixing op duplication in test.

parent 8910349e
No related branches found
No related tags found
No related merge requests found
...@@ -207,10 +207,7 @@ static void recv_im_ready(grpc_exec_ctx *exec_ctx, void *arg, bool success) { ...@@ -207,10 +207,7 @@ static void recv_im_ready(grpc_exec_ctx *exec_ctx, void *arg, bool success) {
call_data *calld = elem->call_data; call_data *calld = elem->call_data;
if (success) { if (success) {
// close the stream with an error. // close the stream with an error.
gpr_slice message; gpr_slice message =
grpc_transport_stream_op close_op;
memset(&close_op, 0, sizeof(close_op));
message =
gpr_slice_from_copied_string("Random failure that's not preventable."); gpr_slice_from_copied_string("Random failure that's not preventable.");
grpc_transport_stream_op op; grpc_transport_stream_op op;
memset(&op, 0, sizeof(op)); memset(&op, 0, sizeof(op));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment