From b81aedf24fc32a5c051ed79111f4d6d6992ed3d8 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 11 Feb 2010 05:33:20 +0000 Subject: [PATCH] more statics... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9954 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/netconn.c b/netconn.c index eb605a16..4e80136d 100755 --- a/netconn.c +++ b/netconn.c @@ -2444,7 +2444,7 @@ qboolean plaintext_matching(lhnetaddress_t *peeraddress, const char *password, c const char *RCon_Authenticate(lhnetaddress_t *peeraddress, const char *password, const char *s, const char *endpos, rcon_matchfunc_t comparator, const char *cs, int cslen) { const char *text, *userpass_start, *userpass_end, *userpass_startpass; - char buf[MAX_INPUTLINE]; + static char buf[MAX_INPUTLINE]; qboolean hasquotes; qboolean restricted = false; qboolean have_usernames = false; @@ -2582,7 +2582,8 @@ static int NetConn_ServerParsePacket(lhnetsocket_t *mysocket, unsigned char *dat int i, ret, clientnum, best; double besttime; client_t *client; - char *s, *string, response[1400], addressstring2[128], stringbuf[16384]; + char *s, *string, response[1400], addressstring2[128]; + static char stringbuf[16384]; qboolean islocal = (LHNETADDRESS_GetAddressType(peeraddress) == LHNETADDRESSTYPE_LOOP); if (!sv.active) -- 2.39.2