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=d444020ddcb741853393d8393cd03736e08d34a9;p=rrdtool.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/branches/1.3/program@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_xport.c b/src/rrd_xport.c index 69f50bd..da8138a 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -227,7 +227,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? */ @@ -255,7 +255,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);