From 9d4b7b3fdf49dd07c2dc95e273db3a2544c555fa Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 4 Feb 2015 12:24:06 +0000 Subject: [PATCH] Make vabuf static in rcon authentication check as it's returned. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12142 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netconn.c b/netconn.c index 940bb1a7..b4ef3147 100755 --- a/netconn.c +++ b/netconn.c @@ -2743,7 +2743,7 @@ static const char *RCon_Authenticate(lhnetaddress_t *peeraddress, const char *pa qboolean hasquotes; qboolean restricted = false; qboolean have_usernames = false; - char vabuf[1024]; + static char vabuf[1024]; userpass_start = rcon_password.string; while((userpass_end = strchr(userpass_start, ' '))) -- 2.39.2