summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c94263a)
raw | patch | inline | side by side (parent: c94263a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 May 2005 15:40:28 +0000 (15:40 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 May 2005 15:40:28 +0000 (15:40 +0000) |
program/src/rrd_tool.c | patch | blob | history |
diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c
index b64a7038966a1c35ac245b5f64b5e5d4f3b944fc..8072954187b7c57b77c266e6e8b3095821c495e1 100644 (file)
--- a/program/src/rrd_tool.c
+++ b/program/src/rrd_tool.c
free (data);
}
} else if (strcmp("xport", argv[1]) == 0) {
+ int xxsize;
unsigned long int j = 0;
time_t start,end, ti;
unsigned long step, col_cnt,row_cnt;
rrd_value_t *data,*ptr;
char **legend_v;
- if(rrd_xport(argc-1, &argv[1], &start,&end,&step,&col_cnt,&legend_v,&data) != -1) {
+ if(rrd_xport(argc-1, &argv[1], &xxsize,&start,&end,&step,&col_cnt,&legend_v,&data) != -1) {
row_cnt = (end-start)/step;
ptr = data;
printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n\n", XML_ENCODING);