From: divverent Date: Wed, 4 Feb 2015 12:24:06 +0000 (+0000) Subject: Make vabuf static in rcon authentication check as it's returned. X-Git-Tag: xonotic-v0.8.1~29^2~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9d4b7b3fdf49dd07c2dc95e273db3a2544c555fa;p=xonotic%2Fdarkplaces.git 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 --- 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, ' ')))