Skip to content

Commit ab0d881

Browse files
committed
Comment out wsa_get_proto_info(AF_INET6) - not needed - causes warning in Win2k3
1 parent b5e7b78 commit ab0d881

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/platform_win32_winsock.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ static void wsa_get_proto_info(int af, int type, int proto, WSAPROTOCOL_INFOW *t
404404
static void wsa_init_proto_info_cache() {
405405
wsa_get_proto_info(AF_INET, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[0]);
406406
wsa_get_proto_info(AF_INET, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[1]);
407-
wsa_get_proto_info(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[2]);
408-
wsa_get_proto_info(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[3]);
407+
//wsa_get_proto_info(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[2]);
408+
//wsa_get_proto_info(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[3]);
409409
}
410410

411411

0 commit comments

Comments
 (0)