X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fprotocols.c;h=f7fd256ba0dae662e06a313413363d7f10d99811;hb=005bf289888e75ad1b35454de5fdd1cb3f2e09fb;hp=ae35c42533bcf208c8d15829c12f044759974858;hpb=e14e8b7f5c5bf9d0fe5cc632c6383f304d4ac2ad;p=collectd.git diff --git a/src/protocols.c b/src/protocols.c index ae35c425..f7fd256b 100644 --- a/src/protocols.c +++ b/src/protocols.c @@ -69,7 +69,6 @@ static void submit (const char *protocol_name, vl.values = &value; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "protocols", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, protocol_name, sizeof (vl.plugin_instance)); sstrncpy (vl.type, "protocol_counter", sizeof (vl.type));