X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fteamspeak2.c;h=1bd969bd9e158dcbf6d7bb92c5fd9e68f70ce599;hb=2ece265d5c296b56ab760d10c92054eef094e1bd;hp=a709e79dd21308f2d8c42551c9e0f619a9a1c1cd;hpb=6f4f918d4d5e70c75471632254ecb9c55fd8d62f;p=collectd.git diff --git a/src/teamspeak2.c b/src/teamspeak2.c index a709e79d..1bd969bd 100644 --- a/src/teamspeak2.c +++ b/src/teamspeak2.c @@ -125,7 +125,6 @@ static void tss2_submit_gauge (const char *plugin_instance, vl.values = &(value_t) { .gauge = value }; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "teamspeak2", sizeof (vl.plugin)); if (plugin_instance != NULL) @@ -155,7 +154,6 @@ static void tss2_submit_io (const char *plugin_instance, const char *type, vl.values = values; vl.values_len = STATIC_ARRAY_SIZE (values); - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "teamspeak2", sizeof (vl.plugin)); if (plugin_instance != NULL)