X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftable.c;h=7181795ed45c1e18ab3a2e6862e9e61e2fc300e7;hb=422c3bb3be01a222466db41a744dcdcb7f6963fd;hp=ba65f41c3263e3b29d67bfe257a9da0d64bb8377;hpb=6159b6f81403b90eb2b1f1c60fa8006cd3405d1b;p=collectd.git diff --git a/src/table.c b/src/table.c index ba65f41c..7181795e 100644 --- a/src/table.c +++ b/src/table.c @@ -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));