X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ffilecount.c;h=74bc5fb3828bf3006235b47d77c2ea45c14d9a64;hb=661bf777b32b7df979586ac1e31eb22217d00049;hp=c1e53a2d52e504845dc6a453acebedf7d3a84b6d;hpb=e14e8b7f5c5bf9d0fe5cc632c6383f304d4ac2ad;p=collectd.git diff --git a/src/filecount.c b/src/filecount.c index c1e53a2d..74bc5fb3 100644 --- a/src/filecount.c +++ b/src/filecount.c @@ -65,7 +65,6 @@ static void fc_submit_dir (const fc_directory_conf_t *dir) vl.values = &(value_t) { .gauge = (gauge_t) dir->files_num }; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "filecount", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, dir->instance, sizeof (vl.plugin_instance)); sstrncpy (vl.type, "files", sizeof (vl.type));