Code

Explain the need for _GNU_SOURCE
[collectd.git] / src / fhcount.c
index a2f5aa8c9aabf87dc8623b2b9ac99a9023cb84ae..00bd7325a53da8ec48623cb49c612784b9e6a83f 100644 (file)
@@ -66,7 +66,6 @@ static void fhcount_submit(
   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));