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.tokkee.org/?a=commitdiff_plain;h=097c15056eb70aeade13040e88cd2eda9f0444ad;p=rrdtool-all.git 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@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_xport.c b/program/src/rrd_xport.c index 82044694..5d3f3ebb 100644 --- a/program/src/rrd_xport.c +++ b/program/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);