Changeset 7393 for code/branches/ipv6/src/external/enet
- Timestamp:
- Sep 9, 2010, 6:38:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ipv6/src/external/enet/unix.c
r7390 r7393 99 99 { 100 100 address -> host = enet_address_map4 ((((struct sockaddr_in *) sin) -> sin_addr.s_addr)); 101 / /address -> scopeID = 0;101 /* address -> scopeID = 0; */ 102 102 address -> port = ENET_NET_TO_HOST_16 (((struct sockaddr_in *) sin) -> sin_port); 103 103 return ENET_IPV4; … … 200 200 else 201 201 { 202 ENetAddress address_ = { ENET_HOST_ANY, 0, 0 }; 202 ENetAddress address_; 203 address_.host = ENET_HOST_ANY; 204 address_.scopeID = 0; 205 address_.port = 0; 203 206 enet_address_set_sin((struct sockaddr *) & sin, & address_, family); 204 207 } … … 224 227 setsockopt (sock, IPPROTO_IPV6, IPV6_V6ONLY, & value, sizeof (int)); 225 228 } 226 #endif / / IPV6_V6ONLY229 #endif /* IPV6_V6ONLY */ 227 230 228 231 return sock; … … 405 408 pollSocket[0].events = 0; 406 409 pollSocket[1].events = 0; 407 / /pollSocket[0].revents = 0;410 /* pollSocket[0].revents = 0; */ 408 411 pollSocket[1].revents = 0; 409 412
Note: See TracChangeset
for help on using the changeset viewer.