Tree wide: Don't set vl.host to hostname_g in plugin code.
[collectd.git] / src / xmms.c
index 2ba3082..5a2774b 100644 (file)
@@ -39,7 +39,6 @@ static void cxmms_submit (const char *type, gauge_t value)
 
        vl.values = &(value_t) { .gauge = value };
        vl.values_len = 1;
-       sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "xmms", sizeof (vl.plugin));
        sstrncpy (vl.type, type, sizeof (vl.type));