fix nacl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4338 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
186dd8ab68
commit
5330c9b124
1 changed files with 3 additions and 3 deletions
|
@ -281,9 +281,9 @@ qboolean NET_CompareAdr (netadr_t *a, netadr_t *b)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
#ifdef HAVE_WEBSOCKCL
|
#ifdef HAVE_WEBSOCKCL
|
||||||
if (a.type == NA_WEBSOCKET)
|
if (a->type == NA_WEBSOCKET)
|
||||||
{
|
{
|
||||||
if (!strcmp(a.address.websocketurl, a.address.websocketurl) && a.port == b.port)
|
if (!strcmp(a->address.websocketurl, a->address.websocketurl) && a->port == b->port)
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -446,7 +446,7 @@ char *NET_AdrToString (char *s, int len, netadr_t *a)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_WEBSOCKCL
|
#ifdef HAVE_WEBSOCKCL
|
||||||
case NA_WEBSOCKET:
|
case NA_WEBSOCKET:
|
||||||
Q_strncpyz(s, a.address.websocketurl, len);
|
Q_strncpyz(s, a->address.websocketurl, len);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef TCPCONNECT
|
#ifdef TCPCONNECT
|
||||||
|
|
Loading…
Reference in a new issue