summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f27440)
raw | patch | inline | side by side (parent: 2f27440)
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 ce6443b7e5a47300e72fae2b2bb81d729ac3db41..5b1323886bc8a498a77ae3216df1dadd893b851b 100644 (file)
--- a/src/utils_rrdcreate.c
+++ b/src/utils_rrdcreate.c
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);