X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fhddtemp.c;h=cb6f6d25b9a486d39a3b18c5c1f9e559e7401e53;hb=c76419c0cf983f1ecd3d36aa236cc4e3f9cff733;hp=11785376ea7a261904e3f41d3c8e4015a3c3e41b;hpb=442696dca3162676b63735afaf94c2b35d5ad840;p=collectd.git diff --git a/src/hddtemp.c b/src/hddtemp.c index 11785376..cb6f6d25 100644 --- a/src/hddtemp.c +++ b/src/hddtemp.c @@ -23,7 +23,7 @@ * Vincent Stehlé * Florian octo Forster * Sebastian Harl - * Benjamin Gilbert + * Benjamin Gilbert * * TODO: * Do a pass, some day, and spare some memory. We consume too much for now @@ -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));