mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 03:41:27 +00:00
Fixed one line
This commit is contained in:
parent
95b2fd2b6d
commit
d3dd8d3e36
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue