diff --git a/src/redis.c b/src/redis.c
index 5214eccc1e6efc39db7ae37579c6b7d6a5db897f..7f57571ed9f1f5f0c60d13531c39d10a4f76a6ff 100644 (file)
--- a/src/redis.c
+++ b/src/redis.c
const char *type, const char *type_instance,
value_t value) /* {{{ */
{
- value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
- values[0] = value;
-
- vl.values = values;
+ vl.values = &value;
vl.values_len = 1;
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "redis", sizeof (vl.plugin));