Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git] / src / swap.c
index 8c09e35..b8b5f09 100644 (file)
@@ -123,7 +123,6 @@ static void swap_submit (const char *type_instance, double value)
 
        vl.values = values;
        vl.values_len = 1;
-       vl.time = time (NULL);
        sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "swap", sizeof (vl.plugin));
        sstrncpy (vl.type, "swap", sizeof (vl.type));