summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba4d709)
raw | patch | inline | side by side (parent: ba4d709)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 May 2005 15:07:27 +0000 (15:07 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 May 2005 15:07:27 +0000 (15:07 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@510 a5681a0c-68f1-0310-ab6d-d61299d08faa
configure.ac | patch | blob | history | |
src/rrd_graph_helper.c | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 8791c2ad0ad00851c66722f797f5cc2bfa7d573c..6820e07379df0c6b437be8efc45f4be0dd6ecab7 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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 d0aaf4bf3ec3baa725da6eade8718135fcac4db8..5cadb089c77527039c11155788aef1fcdad254df 100644 (file)
--- 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;
}