Code

virt plugin: Fix indentation and some whitespace.
[collectd.git] / src / hddtemp.c
index ece9c1a9f2c579bf233d854ee8e87b15fa638512..cb6f6d25b9a486d39a3b18c5c1f9e559e7401e53 100644 (file)
@@ -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));