if called with --lazy we still want to PRINT ... -- Bartek Szady bszx from bszx.eu.org
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 30 Nov 2005 09:19:16 +0000 (09:19 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 30 Nov 2005 09:19:16 +0000 (09:19 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@725 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph_helper.c

index bca17d0..4bf4b5a 100644 (file)
@@ -797,6 +797,7 @@ rrd_graph_script(int argc, char *argv[], image_desc_t *const im, int optno) {
                if (rrd_parse_xport(argv[i],&eaten,gdp,im)) return;
                break;
            case GF_PRINT:      /* vname:CF:format -or- vname:format */
+               im->prt_c++;            
            case GF_GPRINT:     /* vname:CF:format -or- vname:format */
                if (rrd_parse_print(argv[i],&eaten,gdp,im)) return;
                break;