diff --git a/src/bind.c b/src/bind.c
index 7fda034968ffe5217a3a24bd493974c271124db7..09de4a3f7679bf8c94217e3d7a276f15a299dd79 100644 (file)
--- a/src/bind.c
+++ b/src/bind.c
#include "common.h"
#include "plugin.h"
-#include "configfile.h"
/* Some versions of libcurl don't include this themselves and then don't have
* fd_set available. */
static void submit (time_t ts, const char *plugin_instance, /* {{{ */
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;
if (config_parse_time)
vl.time = TIME_T_TO_CDTIME_T (ts);