summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84675ab)
raw | patch | inline | side by side (parent: 84675ab)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 5 Feb 2003 18:16:02 +0000 (18:16 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 5 Feb 2003 18:16:02 +0000 (18:16 +0000) |
program/src/rrd_resize.c | patch | blob | history |
index cdf88c31df962f43cb27f76eaedf83ed382427be..39941c1cd4ada12fbf79bca413e44a904edb588a 100644 (file)
--- a/program/src/rrd_resize.c
+++ b/program/src/rrd_resize.c
}
if (modify < 0)
- if (rrdold.rra_def[target_rra].row_cnt <= modify) {
+ if (rrdold.rra_def[target_rra].row_cnt <= -modify) {
rrd_set_error("This RRA is not that big");
rrd_free(&rrdold);
fclose(infile);