summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da20239)
raw | patch | inline | side by side (parent: da20239)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 23 Mar 2008 13:43:22 +0000 (13:43 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 23 Mar 2008 13:43:22 +0000 (13:43 +0000) |
src/rrd_dump.c | patch | blob | history |
diff --git a/src/rrd_dump.c b/src/rrd_dump.c
index 7a904f3401907604820767af9cb63aa4f1256532..f84adbc3a4c8e0cab5c568fb0e9e6eb386019504 100644 (file)
--- a/src/rrd_dump.c
+++ b/src/rrd_dump.c
out_file = stdout;
}
+ fputs("<?xml version="1.0" encoding=\"utf-8\"?>", out_file);
+ fputs("<!DOCTYPE rrd SYSTEM \"http://oss.oetiker.ch/rrdtool/rrdtool.dtd\">", out_file);
fputs("<!-- Round Robin Database Dump -->", out_file);
fputs("<rrd>", out_file);
if (atoi(rrd.stat_head->version) <= 3) {