projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce1db8
)
ganglia plugin: unsigned value can't be negative
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 13:31:56 +0000
(15:31 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 13:32:22 +0000
(15:32 +0200)
src/gmond.c
patch
|
blob
|
history
diff --git
a/src/gmond.c
b/src/gmond.c
index
53cdcbf
..
70436d7
100644
(file)
--- a/
src/gmond.c
+++ b/
src/gmond.c
@@
-714,7
+714,7
@@
static int mc_handle_metadata_msg (Ganglia_metadata_msg *msg) /* {{{ */
msg_meta = msg->Ganglia_metadata_msg_u.gfull;
- if (msg_meta.metric.tmax
<
= 0)
+ if (msg_meta.metric.tmax
=
= 0)
return (-1);
map = metric_lookup (msg_meta.metric_id.name);