Code

Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git] / src / memory.c
index c31b30efe29b109cf3ae7c73055a48502c5b21fb..ebaa8f29ce76f9e2bc9681c0a6a9d17376f5e9bb 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));