X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ffilecount.c;h=74bc5fb3828bf3006235b47d77c2ea45c14d9a64;hb=f66916deea905254061bb07245e007471faf2ecf;hp=c1e53a2d52e504845dc6a453acebedf7d3a84b6d;hpb=6f4f918d4d5e70c75471632254ecb9c55fd8d62f;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));