diff options
author | murgatroid99 <mlumish@google.com> | 2016-08-09 11:16:42 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-08-09 11:16:42 -0700 |
commit | 3c2c6c15d9facefbb826c47136107ad7b0aaaa4c (patch) | |
tree | 2c910d2516a596cb263a5ca0d259bfe2b6e678c8 | |
parent | db9630a5493577c3168fa123c1c7ef418c96e62b (diff) |
Fixed InetNtop function call
-rw-r--r-- | src/core/lib/iomgr/socket_utils_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/socket_utils_windows.c b/src/core/lib/iomgr/socket_utils_windows.c index 74dbd57c7d..17f43e4c87 100644 --- a/src/core/lib/iomgr/socket_utils_windows.c +++ b/src/core/lib/iomgr/socket_utils_windows.c @@ -42,7 +42,7 @@ const char *grpc_inet_ntop(int af, const void *src, char *dst, socklen_t size) { GPR_ASSERT(sizeof(socklen_t) <= sizeof(size_t)); - return InetNtop(af, src, dst, (size_t)size); + return InetNtopA(af, src, dst, (size_t)size); } #endif /* GRPC_WINDOWS_SOCKETUTILS */ |