From: oetiker Date: Fri, 6 Mar 2009 05:51:34 +0000 (+0000) Subject: there were two lines of debug info printed by rrd_xport, messing up the xml code... X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=4ee4e5e084caeb4a3af3aefe3c5122b27cb111b4 there were two lines of debug info printed by rrd_xport, messing up the xml code. Fix by Alejandro Galue. git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_xport.c b/src/rrd_xport.c index 8204469..5d3f3eb 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -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);