summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d7ad0d6)
raw | patch | inline | side by side (parent: d7ad0d6)
author | Florian Forster <octo@collectd.org> | |
Tue, 1 Nov 2016 06:58:57 +0000 (07:58 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 1 Nov 2016 06:58:57 +0000 (07:58 +0100) |
src/daemon/utils_match.c | patch | blob | history |
index 39f70433429cc54be8caca8df3d38294e1836a00..35102b6dec76b78e5062156dda586c3d773daae6 100644 (file)
--- a/src/daemon/utils_match.c
+++ b/src/daemon/utils_match.c
return (-1);
if ((data->values_num == 0)
- || (data->ds_type & UTILS_MATCH_CF_GAUGE_LAST))
+ || (data->ds_type & UTILS_MATCH_CF_GAUGE_LAST)
+ || (data->ds_type & UTILS_MATCH_CF_GAUGE_PERSIST))
{
data->value.gauge = value;
}