diff --git a/src/apcups.c b/src/apcups.c
index 821bd65edbed1f3fd70244aed5d1e3866e7d32d9..937f2a0696052bb0c3ce16422e5a8bf42097e91c 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
vl.values = &(value_t) { .gauge = value };
vl.values_len = 1;
- sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "apcups", sizeof (vl.plugin));
- sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance));
sstrncpy (vl.type, type, sizeof (vl.type));
sstrncpy (vl.type_instance, type_inst, sizeof (vl.type_instance));