From: oetiker Date: Sun, 26 Mar 2006 14:36:35 +0000 (+0000) Subject: vnames can be up to MAX_VNAME_LEN long ... not only 30 chars ... -- Ulf Harnhammar... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5e5df7532df31e56489d7d824074abf3e35d9dbb;p=rrdtool.git 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/program@781 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_rpncalc.c b/src/rrd_rpncalc.c index 55ef196..f17c788 100644 --- a/src/rrd_rpncalc.c +++ b/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;