X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbattery.c;h=a909b755fe324fa66dfc0cb6e903b5c120ff3166;hb=2ece265d5c296b56ab760d10c92054eef094e1bd;hp=ebf41debdab783fdf2b676e2219a994f86e1959b;hpb=e1bfa71aca1f37c2f293dc9adb44065c6e7a9ad9;p=collectd.git diff --git a/src/battery.c b/src/battery.c index ebf41deb..a909b755 100644 --- a/src/battery.c +++ b/src/battery.c @@ -82,7 +82,6 @@ static void battery_submit2 (char const *plugin_instance, /* {{{ */ vl.values = &(value_t) { .gauge = value }; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "battery", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, plugin_instance, sizeof (vl.plugin_instance)); sstrncpy (vl.type, type, sizeof (vl.type));