Browse Source

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

pull/2/head
Alibek Omarov 1 year ago
parent
commit
e4ae386964
  1. 2
      engine/common/net_ws.c

2
engine/common/net_ws.c

@ -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" )) if( !Q_stricmp( string, "localhost" ) || !Q_stricmp( string, "loopback" ))
{ {
adr->type = NA_LOOPBACK; adr->type = NA_LOOPBACK;
return true; return NET_EAI_OK;
} }
res = NET_StringToSockaddr( string, &s, true, AF_UNSPEC ); res = NET_StringToSockaddr( string, &s, true, AF_UNSPEC );

Loading…
Cancel
Save