X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmbmon.c;h=87e54fa18406dd44a4d07a2822b00a90c79083fe;hb=c442c66d9e98852f1b8eaa1b816d6ee7f84d0342;hp=b72be896be4de7b8188ec5222fe8021c08a57d3e;hpb=51bc7c4a5523f2b03c24e32064b28c7c8426534d;p=collectd.git diff --git a/src/mbmon.c b/src/mbmon.c index b72be896..87e54fa1 100644 --- a/src/mbmon.c +++ b/src/mbmon.c @@ -222,7 +222,6 @@ static void mbmon_submit (const char *type, const char *type_instance, vl.values = &(value_t) { .gauge = value }; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "mbmon", sizeof (vl.plugin)); sstrncpy (vl.type, type, sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));