X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapcups.c;h=937f2a0696052bb0c3ce16422e5a8bf42097e91c;hb=f2f7049e8faff8043b12d7c7548d9398d3b3ada4;hp=821bd65edbed1f3fd70244aed5d1e3866e7d32d9;hpb=e1bfa71aca1f37c2f293dc9adb44065c6e7a9ad9;p=collectd.git diff --git a/src/apcups.c b/src/apcups.c index 821bd65e..937f2a06 100644 --- a/src/apcups.c +++ b/src/apcups.c @@ -420,9 +420,7 @@ static void apc_submit_generic (const char *type, const char *type_inst, double 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));