From e0dd867bc4908e6ed5148599908855609d955ca9 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 5 Jan 2008 22:32:36 +0000 Subject: [PATCH] corrected a buffer size git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7919 d7cf8633-e32d-0410-b094-e92efae38249 --- cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd.c b/cmd.c index 3a269baa..2e800754 100644 --- a/cmd.c +++ b/cmd.c @@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // maximum number of parameters to a command #define MAX_ARGS 80 // maximum tokenizable commandline length (counting NUL terminations) -#define CMD_TOKENIZELENGTH (MAX_INPUTLINE + 80) +#define CMD_TOKENIZELENGTH (MAX_INPUTLINE + MAX_ARGS) typedef struct cmdalias_s { -- 2.39.2