X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetwork.c;h=6b43ae75b47982609ffbeb702488c1d554e1e049;hb=9d9678b9e753ea0936612021f4f87f8092ab4e31;hp=f6815f6db82cfa6f5724e310bf4e18562f81c5dc;hpb=d462e6079da22bb7a1b5ea53aff9a04b3b2f2af2;p=collectd.git diff --git a/src/network.c b/src/network.c index f6815f6d..6b43ae75 100644 --- a/src/network.c +++ b/src/network.c @@ -3386,7 +3386,6 @@ static int network_stats_read (void) /* {{{ */ vl.values = values; vl.values_len = 2; vl.time = 0; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "network", sizeof (vl.plugin)); /* Octets received / sent */ @@ -3478,7 +3477,7 @@ static int network_init (void) status = plugin_thread_create (&dispatch_thread_id, NULL /* no attributes */, dispatch_thread, - NULL /* no argument */); + NULL /* no argument */, "network dispatch"); if (status != 0) { char errbuf[1024]; @@ -3498,7 +3497,7 @@ static int network_init (void) status = plugin_thread_create (&receive_thread_id, NULL /* no attributes */, receive_thread, - NULL /* no argument */); + NULL /* no argument */, "network recv"); if (status != 0) { char errbuf[1024];