diff options
author | murgatroid99 <mlumish@google.com> | 2016-10-12 13:19:40 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-10-12 16:21:05 -0700 |
commit | a460192d926d9d4adf76ef35d8ef1521623e2123 (patch) | |
tree | f91f282eed676a36aee3dfbd1709fd2940ee716d /test/core | |
parent | 22d50e98d8dbff93a7221cd705130b1192c34ffa (diff) |
Minor fixes to sockaddr changes
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/iomgr/tcp_client_posix_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/iomgr/tcp_client_posix_test.c b/test/core/iomgr/tcp_client_posix_test.c index b544f5b21b..6c6962ed7a 100644 --- a/test/core/iomgr/tcp_client_posix_test.c +++ b/test/core/iomgr/tcp_client_posix_test.c @@ -120,7 +120,8 @@ void test_succeeds(void) { /* await the connection */ do { resolved_addr.len = sizeof(addr); - r = accept(svr_fd, addr, (socklen_t *)&resolved_addr.len); + r = accept(svr_fd, (struct sockaddr *)addr, + (socklen_t *)&resolved_addr.len); } while (r == -1 && errno == EINTR); GPR_ASSERT(r >= 0); close(r); |