X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftable.c;h=7181795ed45c1e18ab3a2e6862e9e61e2fc300e7;hb=f46301fdc32e9cd13a757dbc005d2b66d5188193;hp=ba65f41c3263e3b29d67bfe257a9da0d64bb8377;hpb=e6798095bb2f063dd97619399575fef3e0fe501e;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));