projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git]
/
src
/
onewire.c
diff --git
a/src/onewire.c
b/src/onewire.c
index
77fe08c
..
c40d5ad
100644
(file)
--- a/
src/onewire.c
+++ b/
src/onewire.c
@@
-62,7
+62,6
@@
static char *device_g = NULL;
static const char *config_keys[] =
{
static const char *config_keys[] =
{
- "Alias",
"Device",
"IgnoreSelected",
"Sensor",
"Device",
"IgnoreSelected",
"Sensor",
@@
-105,10
+104,6
@@
static int cow_load_config (const char *key, const char *value)
sfree (device_g);
device_g = temp;
}
sfree (device_g);
device_g = temp;
}
- else if (strcasecmp (key, "Alias") == 0)
- {
- /* azogtodo alias-list */
- }
else
{
return (-1);
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.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));
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "onewire", sizeof (vl.plugin));