aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/socket_utils_windows.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-09-26 22:59:56 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2017-10-02 16:33:03 -0700
commit778d24405736d35ca1aaf9353ce6e06c1d266b89 (patch)
tree36544a670a11eadd094d07cf8010c4f13abab583 /src/core/lib/iomgr/socket_utils_windows.cc
parent7f25686dcfc602a4f72ae9e07cde001171197fa3 (diff)
Trying another fix for windows python
Diffstat (limited to 'src/core/lib/iomgr/socket_utils_windows.cc')
-rw-r--r--src/core/lib/iomgr/socket_utils_windows.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/socket_utils_windows.cc b/src/core/lib/iomgr/socket_utils_windows.cc
index 6e85e4b61f..ddb6894b57 100644
--- a/src/core/lib/iomgr/socket_utils_windows.cc
+++ b/src/core/lib/iomgr/socket_utils_windows.cc
@@ -27,7 +27,7 @@
const char *grpc_inet_ntop(int af, const void *src, char *dst, size_t size) {
/* Windows InetNtopA wants a mutable ip pointer */
- return InetNtopA(af, (void *)src, dst, size);
+ return InetNtop(af, (void *)src, dst, size);
}
#endif /* GRPC_WINDOWS_SOCKETUTILS */