Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git] / src / memory.c
index c31b30e..ebaa8f2 100644 (file)
@@ -108,7 +108,6 @@ static void memory_submit (const char *type_instance, gauge_t value)
 
        vl.values = values;
        vl.values_len = 1;
-       vl.time = time (NULL);
        sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "memory", sizeof (vl.plugin));
        sstrncpy (vl.type, "memory", sizeof (vl.type));