From: Tobias Oetiker Date: Sun, 8 May 2005 15:07:27 +0000 (+0000) Subject: removed extra $ from from PERLCC test X-Git-Tag: 1.2.4~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cbe4e85a4a481018848f39b7c1aaeb5507ae651;p=thirdparty%2Frrdtool-1.x.git removed extra $ from from PERLCC test git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@510 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/configure.ac b/configure.ac index 8791c2ad..6820e073 100644 --- a/configure.ac +++ b/configure.ac @@ -311,7 +311,7 @@ else AC_MSG_RESULT($perlcc) if test ! -x $perlcc; then AC_PATH_PROG(PERLCC, ${perlcc}, no) - if test -x $"x$PERLCC" = "xno"; then + if test -x "x$PERLCC" = "xno"; then AC_MSG_WARN([ I would not find the Compiler ($perlcc) that was originally used to compile your perl binary. You should either make sure that this compiler is available on your diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index d0aaf4bf..5cadb089 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -298,6 +298,11 @@ rrd_parse_PVHLAST(char *line, unsigned int *eaten, graph_desc_t *gdp, image_desc dprintf("- parsing '%s'\n",&line[*eaten]); + /* have simpler code in the drawing section */ + if ( gdp->gf == GF_STACK ){ + gdp->stack=1; + } + i=scan_for_col(&line[*eaten],MAX_VNAME_LEN+9,tmpstr); if (line[*eaten+i]!='\0' && line[*eaten+i]!=':') { rrd_set_error("Cannot parse line '%s'",line); @@ -455,10 +460,6 @@ rrd_parse_PVHLAST(char *line, unsigned int *eaten, graph_desc_t *gdp, image_desc (*eaten)++; dprintf("- parsing '%s'\n",&line[*eaten]); - /* have simpler code in the drawing section */ - if ( gdp->gf == GF_STACK ){ - gdp->stack=1; - } return 0; }