From: oetiker Date: Sun, 8 May 2005 15:07:27 +0000 (+0000) Subject: removed extra $ from from PERLCC test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bc35c1638fc82446f3979d6f954a59a8e9333cc9;p=rrdtool.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 8791c2a..6820e07 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 d0aaf4b..5cadb08 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; }