Code

onewire plugin: Do not overwrite custom interval settings with plugin_interval.
authorSebastian Harl <sh@tokkee.org>
Fri, 17 Jun 2011 12:27:50 +0000 (14:27 +0200)
committerSebastian Harl <sh@teamix.net>
Mon, 19 Sep 2011 07:47:12 +0000 (09:47 +0200)
src/onewire.c

index 8d4e600b7fb218e23f5a21776e45148f674407b2..9283326c270f5ea9e1a3b1356fadccf19b3f9e2d 100644 (file)
@@ -125,7 +125,7 @@ static int cow_read_values (const char *path, const char *name,
     const ow_family_features_t *family_info)
 {
   value_t values[1];
-  value_list_t vl = VALUE_LIST_INIT (plugin_interval);
+  value_list_t vl = VALUE_LIST_INIT (ow_interval);
   int success = 0;
   size_t i;