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=e3b946e4684e50d458e3278d8d53062a657c5763;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/branches/1.3@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_xport.c b/program/src/rrd_xport.c index 69f50bd2..da8138a8 100644 --- a/program/src/rrd_xport.c +++ b/program/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);