aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/request_with_flags.c
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-08-01 00:12:01 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-08-01 00:33:29 +0200
commit4960516c630b9754a62b10da8b21a008dda2cbb6 (patch)
treef0b594d0190f16c441be6d8cd44122bf0a4d4465 /test/core/end2end/tests/request_with_flags.c
parent4599288f8aec9874950ca61dd9be774fcc00aade (diff)
Properly initializing reserved pointer in tests.
Diffstat (limited to 'test/core/end2end/tests/request_with_flags.c')
-rw-r--r--test/core/end2end/tests/request_with_flags.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/core/end2end/tests/request_with_flags.c b/test/core/end2end/tests/request_with_flags.c
index 2863de7a85..e97ae89bdd 100644
--- a/test/core/end2end/tests/request_with_flags.c
+++ b/test/core/end2end/tests/request_with_flags.c
@@ -136,17 +136,21 @@ static void test_invoke_request_with_flags(
op->op = GRPC_OP_SEND_INITIAL_METADATA;
op->data.send_initial_metadata.count = 0;
op->flags = flags_for_op[op->op];
+ op->reserved = NULL;
op++;
op->op = GRPC_OP_SEND_MESSAGE;
op->data.send_message = request_payload;
op->flags = flags_for_op[op->op];
+ op->reserved = NULL;
op++;
op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT;
op->flags = flags_for_op[op->op];
+ op->reserved = NULL;
op++;
op->op = GRPC_OP_RECV_INITIAL_METADATA;
op->data.recv_initial_metadata = &initial_metadata_recv;
op->flags = flags_for_op[op->op];
+ op->reserved = NULL;
op++;
op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
op->data.recv_status_on_client.trailing_metadata = &trailing_metadata_recv;
@@ -154,6 +158,7 @@ static void test_invoke_request_with_flags(
op->data.recv_status_on_client.status_details = &details;
op->data.recv_status_on_client.status_details_capacity = &details_capacity;
op->flags = flags_for_op[op->op];
+ op->reserved = NULL;
op++;
expectation = call_start_batch_expected_result;
error = grpc_call_start_batch(c, ops, op - ops, tag(1), NULL);