X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffilecount.c;fp=src%2Ffilecount.c;h=74bc5fb3828bf3006235b47d77c2ea45c14d9a64;hb=ec43e8a33bdcb116e75310c7bd9daae3bc912834;hp=c1e53a2d52e504845dc6a453acebedf7d3a84b6d;hpb=d54dc98aff7fe748d83fc91b0fed685db990e3de;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));