projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f27440
)
src/utils_rrdcreate.c: Convert vl->interval to seconds when creating RRD files.
author
Florian Forster
<octo@huhu.verplant.org>
Wed, 15 Dec 2010 07:04:00 +0000
(08:04 +0100)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 15 Dec 2010 07:04:00 +0000
(08:04 +0100)
src/utils_rrdcreate.c
patch
|
blob
|
history
diff --git
a/src/utils_rrdcreate.c
b/src/utils_rrdcreate.c
index
ce6443b
..
5b13238
100644
(file)
--- a/
src/utils_rrdcreate.c
+++ b/
src/utils_rrdcreate.c
@@
-416,7
+416,7
@@
int cu_rrd_create_file (const char *filename, /* {{{ */
stepsize = (int) CDTIME_T_TO_TIME_T (vl->interval);
status = srrd_create (filename,
- (cfg->stepsize > 0) ? cfg->stepsize :
vl->interval
,
+ (cfg->stepsize > 0) ? cfg->stepsize :
CDTIME_T_TO_TIME_T (vl->interval)
,
last_up,
argc, (const char **) argv);