summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/rrdbot-create.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/rrdbot-create.c b/tools/rrdbot-create.c
index 5cbbb39..c75b95f 100644
--- a/tools/rrdbot-create.c
+++ b/tools/rrdbot-create.c
@@ -469,6 +469,11 @@ add_rras(create_ctx* ctx, char* value)
char* p;
char* p2;
+ /*
+ * Looks like:
+ * 10/minute, 10/hour, 10/day, 10/week * 2, 1/month, 5/year
+ */
+
while(value && *value)
{
per = num = 0;
@@ -523,7 +528,6 @@ add_rras(create_ctx* ctx, char* value)
return -1;
}
-
/* Parse out how many */
if(p2)
{