From 1c356bb491697b3a31d5c563ef1c64a7ddc02c35 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 26 Mar 2006 14:36:35 +0000 Subject: [PATCH] vnames can be up to MAX_VNAME_LEN long ... not only 30 chars ... -- Ulf Harnhammar metaur telia.com git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@781 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_rpncalc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_rpncalc.c b/program/src/rrd_rpncalc.c index 55ef196c..f17c7888 100644 --- a/program/src/rrd_rpncalc.c +++ b/program/src/rrd_rpncalc.c @@ -257,7 +257,7 @@ rpn_parse(void *key_hash,const char *const expr_const,long (*lookup)(void *,char char *expr; long steps=-1; rpnp_t *rpnp; - char vname[30]; + char vname[MAX_VNAME_LEN+10]; rpnp=NULL; expr=(char *)expr_const; -- 2.30.2