From 5330c9b12405c8d063bb3f9d1acccbcc0387cb52 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 7 May 2013 19:36:42 +0000 Subject: [PATCH] fix nacl git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4338 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/net_wins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/common/net_wins.c b/engine/common/net_wins.c index 33c71f68a..c606abd47 100644 --- a/engine/common/net_wins.c +++ b/engine/common/net_wins.c @@ -281,9 +281,9 @@ qboolean NET_CompareAdr (netadr_t *a, netadr_t *b) return true; #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 false; } @@ -446,7 +446,7 @@ char *NET_AdrToString (char *s, int len, netadr_t *a) { #ifdef HAVE_WEBSOCKCL case NA_WEBSOCKET: - Q_strncpyz(s, a.address.websocketurl, len); + Q_strncpyz(s, a->address.websocketurl, len); break; #endif #ifdef TCPCONNECT