summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3bd130c)
raw | patch | inline | side by side (parent: 3bd130c)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 24 Jul 2016 11:26:19 +0000 (13:26 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 24 Jul 2016 11:30:26 +0000 (13:30 +0200) |
src/rrdtool.c | patch | blob | history |
diff --git a/src/rrdtool.c b/src/rrdtool.c
index 21b01d93568a8946f300443f28ac4bbeec9a0082..348f28762c364d03b527cb9b04bfc71b54c69533 100644 (file)
--- a/src/rrdtool.c
+++ b/src/rrdtool.c
long min;
long max;
- if (random_timeout <= 0)
+ if (random_timeout == 0)
return (0);
/* Assure that "cache_timeout + random_variation" is never negative. */