[rrd-developers] [PATCH] Suggestion for API extension (rrd_dump)
Benny Baumann
BenBE at geshi.org
Mon Aug 10 18:51:20 CEST 2009
Short correction since I missed some changes in the original patch:
Regards,
BenBE.
Index: a/src/rrd_dump.c
===================================================================
--- a/src/rrd_dump.c (old)
+++ b/src/rrd_dump.c (new)
@@ -120,12 +120,6 @@
strlen("<rrd>\n"), user);
}
- cb("<!-- Round Robin Database Dump -->",
- strlen("<!-- Round Robin Database Dump -->"), user);
-
- cb("<rrd>",
- strlen("<rrd>"), user);
-
if (atoi(rrd.stat_head->version) <= 3) {
snprintf(somestring, 255, "\t<version>%s</version>\n",
RRD_VERSION3);
} else {
@@ -207,8 +207,8 @@
strlen("\t</ds>\n\n"), user);
}
- cb("<!-- Round Robin Archives -->\n",
- strlen("<!-- Round Robin Archives -->\n"), user);
+ cb("\t<!-- Round Robin Archives -->\n",
+ strlen("\t<!-- Round Robin Archives -->\n"), user);
rra_base = rrd_file->header_len;
rra_next = rra_base;
-------------- 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/20090810/2a5ca4f9/attachment.bin
More information about the rrd-developers
mailing list