Ken Payson 8 жил өмнө
parent
commit
464ce24b40

+ 1 - 0
src/core/lib/iomgr/socket_utils_windows.c

@@ -44,6 +44,7 @@ const char *grpc_inet_ntop(int af, const void *src, char *dst, size_t size) {
 #ifdef GPR_WIN_INET_NTOP
   return inet_ntop(af, src, dst, size);
 #else
+  /* Windows InetNtopA wants a mutable ip pointer */
   return InetNtopA(af, (void *)src, dst, size);
 #endif /* GPR_WIN_INET_NTOP */
 }