projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bd130c
)
rrdtool plugin: unsigned value can't be negative
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
21b01d9
..
348f287
100644
(file)
--- a/
src/rrdtool.c
+++ b/
src/rrdtool.c
@@
-688,7
+688,7
@@
static int64_t rrd_get_random_variation (void)
long min;
long max;
- if (random_timeout
<
= 0)
+ if (random_timeout
=
= 0)
return (0);
/* Assure that "cache_timeout + random_variation" is never negative. */