summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-08-05 20:48:58 +0000
committerStef Walter <stef@memberwebs.com>2006-08-05 20:48:58 +0000
commit2d975d635f1903a5a5b84ff808b0311d431f9e25 (patch)
tree04dcb3842e05dadd22764e56fcadc17f0072c632 /tools
parent2b77de36782f4906b20b45d695524bbe48c731fc (diff)
Added asynchronous DNS resolver. See #47
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)
{