diff --git a/src/utils_tail_match.c b/src/utils_tail_match.c
index 34fe2dced95c91fc5a493dc71a724248ceec45a1..26e9531119e5f0717ecb022ef90e1346bebf5e3b 100644 (file)
--- a/src/utils_tail_match.c
+++ b/src/utils_tail_match.c
vl.values = values;
vl.values_len = 1;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, data->plugin, sizeof (vl.plugin));
sstrncpy (vl.plugin_instance, data->plugin_instance,
sizeof (vl.plugin_instance));
+ sstrncpy (vl.type, data->type, sizeof (vl.type));
sstrncpy (vl.type_instance, data->type_instance,
sizeof (vl.type_instance));
- plugin_dispatch_values (data->type, &vl);
+ plugin_dispatch_values (&vl);
if (match_value->ds_type & UTILS_MATCH_DS_TYPE_GAUGE)
{