summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 65f84d3)
raw | patch | inline | side by side (parent: 65f84d3)
author | Florian Forster <octo@collectd.org> | |
Wed, 2 Nov 2016 08:04:00 +0000 (09:04 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 2 Nov 2016 08:04:00 +0000 (09:04 +0100) |
src/daemon/utils_tail_match.c | patch | blob | history |
index 377336f6f18ee7dd022590f1183f32d50a3f6d9f..99d5decbec4dd069150c0cd8a576fc78f6e6f6ad 100644 (file)
vl.interval = data->interval;
plugin_dispatch_values (&vl);
- if (match_value->ds_type & UTILS_MATCH_DS_TYPE_GAUGE)
- {
- match_value->value.gauge = NAN;
- match_value->values_num = 0;
- }
-
+ match_value_reset (match_value);
return (0);
} /* int simple_submit_match */