fix compile error

This commit is contained in:
Rudolf Polzer 2012-10-25 09:57:05 +02:00
parent cb907744d6
commit 646e93a73b
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ int WINS_Init( void ){
if(local && local->h_addr_list && local->h_addr_list[0])
myAddr = *(int *)local->h_addr_list[0];
else
myAddr = inet_ntoa("127.0.0.1");
myAddr = inet_addr("127.0.0.1");
// if the quake hostname isn't set, set it to the machine name
// if (Q_strcmp(hostname.string, "UNNAMED") == 0)

View File

@ -199,7 +199,7 @@ int WINS_Init( void ){
if(local && local->h_addr_list && local->h_addr_list[0])
myAddr = *(int *)local->h_addr_list[0];
else
myAddr = inet_ntoa("127.0.0.1");
myAddr = inet_addr("127.0.0.1");
// if the quake hostname isn't set, set it to the machine name
// if (Q_strcmp(hostname.string, "UNNAMED") == 0)