if called with --lazy we still want to PRINT ... -- Bartek Szady bszx from bszx.eu.org
[rrdtool.git] / 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;