Merge branch 'collectd-5.6'
[collectd.git] / src / table.c
index ba65f41..7181795 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "common.h"
 
-#include "configfile.h"
 #include "plugin.h"
 
 #define log_err(...) ERROR ("table plugin: " __VA_ARGS__)
@@ -385,7 +384,6 @@ static int tbl_result_dispatch (tbl_t *tbl, tbl_result_t *res,
        vl.values     = values;
        vl.values_len = STATIC_ARRAY_SIZE (values);
 
-       sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "table", sizeof (vl.plugin));
        sstrncpy (vl.plugin_instance, tbl->instance, sizeof (vl.plugin_instance));
        sstrncpy (vl.type, res->type, sizeof (vl.type));