Tree wide: Don't set vl.host to hostname_g in plugin code.
[collectd.git] / src / apple_sensors.c
index 06ca7a8..17c822f 100644 (file)
@@ -87,9 +87,7 @@ static void as_submit (const char *type, const char *type_instance,
 
        vl.values = &(value_t) { .gauge = val };
        vl.values_len = 1;
-       sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "apple_sensors", sizeof (vl.plugin));
-       sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance));
        sstrncpy (vl.type, type, sizeof (vl.type));
        sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));