mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 21:31:46 +08:00
Fix dedicated compiling errors
This commit is contained in:
@@ -436,7 +436,7 @@ int NET_GetHostByName( const char *hostname )
|
||||
return ip;
|
||||
#else
|
||||
struct hostent *h;
|
||||
if(!( h = pGetHostByName( copy )))
|
||||
if(!( h = pGetHostByName( hostname )))
|
||||
return 0;
|
||||
return *(int *)h->h_addr_list[0];
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user