- Timestamp:
- Sep 19, 2024, 9:49:10 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r82 r83 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 #else139 134 addresses[i].sin_addr.s_addr = INADDR_ANY; 140 #endif141 135 addresses[i].sin_port = htons(config.ports[i]); 142 136 #else
Note:
See TracChangeset
for help on using the changeset viewer.