summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0cc0426)
raw | patch | inline | side by side (parent: 0cc0426)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 Jun 2008 11:16:40 +0000 (11:16 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 Jun 2008 11:16:40 +0000 (11:16 +0000) |
src/rrd_create.c | patch | blob | history |
diff --git a/src/rrd_create.c b/src/rrd_create.c
index 6d7cb18e977af78a55a2afc55069d5923e1084d8..00018d329c53efd8a260c6b59f4f5c77c14a3c52 100644 (file)
--- a/src/rrd_create.c
+++ b/src/rrd_create.c
case CF_DEVPREDICT:
case CF_FAILURES:
row_cnt = atoi(token);
- rrd.rra_def[rrd.stat_head->rra_cnt].row_cnt = row_cnt;
if (row_cnt <= 0)
rrd_set_error("Invalid row count: %i", row_cnt);
+ rrd.rra_def[rrd.stat_head->rra_cnt].row_cnt = row_cnt;
break;
default:
rrd.rra_def[rrd.stat_head->rra_cnt].
break;
default:
row_cnt = atoi(token);
- rrd.rra_def[rrd.stat_head->rra_cnt].row_cnt = row_cnt;
if (row_cnt <= 0)
rrd_set_error("Invalid row count: %i", row_cnt);
+ rrd.rra_def[rrd.stat_head->rra_cnt].row_cnt = row_cnt;
break;
}
break;