Code

there were two lines of debug info printed by rrd_xport, messing up the xml code...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 6 Mar 2009 05:51:34 +0000 (05:51 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 6 Mar 2009 05:51:34 +0000 (05:51 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_xport.c

index 82044694779b5916ff07d44d9eb9eea70865c897..5d3f3ebbb8eae57ed51daa221926e71df93aa025 100644 (file)
@@ -254,7 +254,7 @@ int rrd_xport_fn(
         case GF_XPORT:
             ref_list[xport_counter++] = i;
             *step_list_ptr = im->gdes[im->gdes[i].vidx].step;
-            printf("%s:%lu\n",im->gdes[i].legend,*step_list_ptr);
+            /* printf("%s:%lu\n",im->gdes[i].legend,*step_list_ptr); */
             step_list_ptr++;
             /* reserve room for one legend entry */
             /* is FMT_LEG_LEN + 5 the correct size? */
@@ -282,7 +282,7 @@ int rrd_xport_fn(
     *step_list_ptr=0;    
     /* find a common step */
     *step = lcd(step_list);
-    printf("step: %lu\n",*step);
+    /* printf("step: %lu\n",*step); */
     free(step_list);
     
     *start =  im->start - im->start % (*step);