Fixed one line
This commit is contained in:
parent
95b2fd2b6d
commit
d3dd8d3e36
|
@ -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++)
|
||||
|
|
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue