Browse Source

Comment out wsa_get_proto_info(AF_INET6) - not needed - causes warning in Win2k3

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
ab0d88142e
  1. 4
      src/platform_win32_winsock.cc

4
src/platform_win32_winsock.cc

@ -404,8 +404,8 @@ error:
static void wsa_init_proto_info_cache() {
wsa_get_proto_info(AF_INET, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[0]);
wsa_get_proto_info(AF_INET, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[1]);
wsa_get_proto_info(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[2]);
wsa_get_proto_info(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[3]);
//wsa_get_proto_info(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[2]);
//wsa_get_proto_info(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[3]);
}

Loading…
Cancel
Save