engine: network: fix incorrect usage of qboolean, when it should be net_gai_state_t

This commit is contained in:
Alibek Omarov 2023-09-12 20:40:14 +03:00
parent 36831555b9
commit e4ae386964
1 changed files with 1 additions and 1 deletions

View File

@ -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 );