[rrd-developers] Possible bug?

Benny Baumann BenBE at geshi.org
Thu Jul 30 23:01:24 CEST 2009


Hi,

while creating the patch for the callback API etension I found the
following place in rrd_dump.c:

--- line 362:
                fprintf(out_file, "\t\t\t<history> ");
                for (vidx = 0;
                     vidx < rrd.rra_def[i].par[RRA_window_len].u_cnt;
                     ++vidx) {
                    fprintf(out_file, "%d", violations_array[vidx]);/*
<-- */
                }
                fprintf(out_file, " </history>\n");
---

Is it intentional that there's no space in the number format and thus
subsequent numbers cannot be separated correctly?

Regards,
BenBE.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090730/674e8a78/attachment.bin 


More information about the rrd-developers mailing list