summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ce1db8)
raw | patch | inline | side by side (parent: 2ce1db8)
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 53cdcbf519150913b9d906fbb5f122a3e302b613..70436d722501c0368d2b38d4835149915f6e0ef7 100644 (file)
--- a/src/gmond.c
+++ b/src/gmond.c
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);