Skip to content
Snippets Groups Projects
Commit 13878f49 authored by David Garcia Quintas's avatar David Garcia Quintas
Browse files

Added missing memset to grpc_op in test

parent d6fb831c
No related branches found
No related tags found
No related merge requests found
...@@ -423,6 +423,7 @@ static void server_verifier_sends_too_much_metadata(grpc_server *server, ...@@ -423,6 +423,7 @@ static void server_verifier_sends_too_much_metadata(grpc_server *server,
meta.value_length = metadata_value_size; meta.value_length = metadata_value_size;
grpc_op op; grpc_op op;
memset(&op, 0, sizeof(op));
op.op = GRPC_OP_SEND_INITIAL_METADATA; op.op = GRPC_OP_SEND_INITIAL_METADATA;
op.data.send_initial_metadata.count = 1; op.data.send_initial_metadata.count = 1;
op.data.send_initial_metadata.metadata = &meta; op.data.send_initial_metadata.metadata = &meta;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment