diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-10-30 18:29:27 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-10-30 18:29:27 -0700 |
commit | 4d71636fcc44db62032f673a81eeeb538f02ef0b (patch) | |
tree | 511747924fb54c56d97f8ef1860ba6ee41a92911 /test/core/security | |
parent | e5863246272f5e15d17f74606f6357c6aef24e6e (diff) |
some BUILD changes and designated initializers
Diffstat (limited to 'test/core/security')
-rw-r--r-- | test/core/security/secure_endpoint_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/security/secure_endpoint_test.cc b/test/core/security/secure_endpoint_test.cc index fe7961d1d9..00ff7cf4e8 100644 --- a/test/core/security/secure_endpoint_test.cc +++ b/test/core/security/secure_endpoint_test.cc @@ -56,7 +56,7 @@ static grpc_endpoint_test_fixture secure_endpoint_create_fixture_tcp_socketpair( a[0].key = const_cast<char *>(GRPC_ARG_TCP_READ_CHUNK_SIZE); a[0].type = GRPC_ARG_INTEGER; a[0].value.integer = (int)slice_size; - grpc_channel_args args = {.num_args = GPR_ARRAY_SIZE(a), .args = a}; + grpc_channel_args args = {GPR_ARRAY_SIZE(a), a}; tcp = grpc_iomgr_create_endpoint_pair("fixture", &args); grpc_endpoint_add_to_pollset(&exec_ctx, tcp.client, g_pollset); grpc_endpoint_add_to_pollset(&exec_ctx, tcp.server, g_pollset); |