Tree wide: Don't set vl.host to hostname_g in plugin code.
[collectd.git] / src / uptime.c
index 34c3e85..f0e1a6f 100644 (file)
@@ -65,7 +65,6 @@ static void uptime_submit (gauge_t value)
        vl.values = &(value_t) { .gauge = value };
        vl.values_len = 1;
 
-       sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "uptime", sizeof (vl.plugin));
        sstrncpy (vl.type, "uptime", sizeof (vl.type));