Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git] / src / onewire.c
index 77fe08c..c40d5ad 100644 (file)
@@ -62,7 +62,6 @@ static char *device_g = NULL;
 
 static const char *config_keys[] =
 {
-  "Alias",
   "Device",
   "IgnoreSelected",
   "Sensor",
@@ -105,10 +104,6 @@ static int cow_load_config (const char *key, const char *value)
     sfree (device_g);
     device_g = temp;
   }
-  else if (strcasecmp (key, "Alias") == 0)
-  {
-    /* azogtodo alias-list */
-  }
   else
   {
     return (-1);
@@ -154,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));