summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a611ded)
raw | patch | inline | side by side (parent: a611ded)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 21 Mar 2009 10:44:46 +0000 (10:44 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 21 Mar 2009 10:44:46 +0000 (10:44 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1763 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_hw.c | patch | blob | history |
diff --git a/src/rrd_hw.c b/src/rrd_hw.c
index c9a5b1f771bcecf9732137760dd9a0cf1715db91..cc6f3e10ec04d308790432e293a2a574f31a5761 100644 (file)
--- a/src/rrd_hw.c
+++ b/src/rrd_hw.c
baseline[j];
}
/* flush cdp to disk */
- rrd_flush(rrd_file);
if (rrd_seek(rrd_file, sizeof(stat_head_t) +
rrd->stat_head->ds_cnt * sizeof(ds_def_t) +
rrd->stat_head->rra_cnt * sizeof(rra_def_t) +
/* endif CF_SEASONAL */
/* flush updated values to disk */
- rrd_flush(rrd_file);
if (rrd_seek(rrd_file, rra_start, SEEK_SET)) {
rrd_set_error("apply_smoother: seek to pos %d failed", rra_start);
free(rrd_values);
return -1;
}
- rrd_flush(rrd_file);
free(rrd_values);
free(baseline);
return 0;