diff --git a/src/fhcount.c b/src/fhcount.c
index a2f5aa8c9aabf87dc8623b2b9ac99a9023cb84ae..00bd7325a53da8ec48623cb49c612784b9e6a83f 100644 (file)
--- a/src/fhcount.c
+++ b/src/fhcount.c
vl.values_len = 1;
// Compose the metric
- sstrncpy(vl.host, hostname_g, sizeof(vl.host));
sstrncpy(vl.plugin, "fhcount", sizeof(vl.plugin));
sstrncpy(vl.type, type, sizeof(vl.type));
sstrncpy(vl.type_instance, type_instance, sizeof(vl.type_instance));