projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mqtt, gps: add name parameter to plugin_thread_create()
[collectd.git]
/
src
/
daemon
/
utils_tail_match.c
diff --git
a/src/daemon/utils_tail_match.c
b/src/daemon/utils_tail_match.c
index
377336f
..
99d5dec
100644
(file)
--- a/
src/daemon/utils_tail_match.c
+++ b/
src/daemon/utils_tail_match.c
@@
-98,12
+98,7
@@
static int simple_submit_match (cu_match_t *match, void *user_data)
vl.interval = data->interval;
plugin_dispatch_values (&vl);
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 */
return (0);
} /* int simple_submit_match */