engine: network: fix incorrect usage of qboolean, when it should be net_gai_state_t
This commit is contained in:
parent
36831555b9
commit
e4ae386964
1 changed files with 1 additions and 1 deletions
|
@ -1066,7 +1066,7 @@ net_gai_state_t NET_StringToAdrNB( const char *string, netadr_t *adr )
|
|||
if( !Q_stricmp( string, "localhost" ) || !Q_stricmp( string, "loopback" ))
|
||||
{
|
||||
adr->type = NA_LOOPBACK;
|
||||
return true;
|
||||
return NET_EAI_OK;
|
||||
}
|
||||
|
||||
res = NET_StringToSockaddr( string, &s, true, AF_UNSPEC );
|
||||
|
|
Loading…
Add table
Reference in a new issue