X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fhddtemp.c;h=cb6f6d25b9a486d39a3b18c5c1f9e559e7401e53;hb=604607d3463fbe13eac252308f8a2497fb190167;hp=ece9c1a9f2c579bf233d854ee8e87b15fa638512;hpb=c4bce475033d055cf5370b33fc6b8675fad5667b;p=collectd.git diff --git a/src/hddtemp.c b/src/hddtemp.c index ece9c1a9..cb6f6d25 100644 --- a/src/hddtemp.c +++ b/src/hddtemp.c @@ -258,7 +258,6 @@ static void hddtemp_submit (char *type_instance, double value) vl.values = &(value_t) { .gauge = value }; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "hddtemp", sizeof (vl.plugin)); sstrncpy (vl.type, "temperature", sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));