Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git] / src / onewire.c
index dd7f527..c40d5ad 100644 (file)
@@ -149,7 +149,6 @@ static int cow_read_values (const char *path, const char *name,
 
   vl.values = values;
   vl.values_len = 1;
-  vl.time = time (NULL);
 
   sstrncpy (vl.host, hostname_g, sizeof (vl.host));
   sstrncpy (vl.plugin, "onewire", sizeof (vl.plugin));