From 7729842a4bf200e5eaf5021345602326b0fb10fb Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 15 Jan 2006 12:31:03 +0000 Subject: [PATCH] make sure the image size only gets printed from rrd_tool when --imageinfo is NOT set. git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@747 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_tool.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c index 2e0bf9cf..81c4bae9 100644 --- a/program/src/rrd_tool.c +++ b/program/src/rrd_tool.c @@ -650,8 +650,15 @@ int HandleInputLine(int argc, char **argv, FILE* out) double ymin,ymax; int i; int tostdout = (strcmp(argv[2],"-") == 0); + int imginfo = 0; + for (i=2;i