Changeset 82 in Main
- Timestamp:
- Sep 19, 2024, 9:47:40 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r74 r82 132 132 #ifdef NO_IPV6 133 133 addresses[i].sin_family = AF_INET; 134 #ifdef __HAIKU__ 135 if((addresses[i].sin_addr.s_addr = gethostaddr()) == -1){ 136 addresses[i].sin_addr.s_addr = INADDR_ANY; 137 } 138 #else 134 139 addresses[i].sin_addr.s_addr = INADDR_ANY; 140 #endif 135 141 addresses[i].sin_port = htons(config.ports[i]); 136 142 #else
Note:
See TracChangeset
for help on using the changeset viewer.