Fixed one line

This commit is contained in:
Anton E. Gavrilov 2000-03-08 20:01:36 +00:00
parent 95b2fd2b6d
commit d3dd8d3e36
2 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ int WINS_Init (void)
}
// if the quake hostname isn't set, set it to the machine name
if (Q_strcmp(hostname.string, "UNNAMED") == 0)
if (Q_strcmp(hostname->string, "UNNAMED") == 0)
{
// see if it's a text IP address (well, close enough)
for (p = buff; *p; p++)

View file

@ -83,7 +83,7 @@ int WIPX_Init (void)
if (pgethostname(buff, MAXHOSTNAMELEN) == 0)
{
// if the quake hostname isn't set, set it to the machine name
if (Q_strcmp(hostname.string, "UNNAMED") == 0)
if (Q_strcmp(hostname->string, "UNNAMED") == 0)
{
// see if it's a text IP address (well, close enough)
for (p = buff; *p; p++)