X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetwork.c;h=369da94d63c8253a3d5ca6b1567421653d1e8202;hb=d1a32e2c7c8b1f97e06505cd73d1c1b2f9e4a724;hp=840577f5b49509f1d197c734666b91341d7b7eb8;hpb=a24bf968e72f9a103a354dcc833619a40849cfcd;p=collectd.git diff --git a/src/network.c b/src/network.c index 840577f5..369da94d 100644 --- a/src/network.c +++ b/src/network.c @@ -3225,7 +3225,6 @@ static int network_stats_read (void) /* {{{ */ vl.values = values; vl.values_len = 2; vl.time = 0; - vl.interval = interval_g; sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "network", sizeof (vl.plugin)); @@ -3321,7 +3320,7 @@ static int network_init (void) if (dispatch_thread_running == 0) { int status; - status = pthread_create (&dispatch_thread_id, + status = plugin_thread_create (&dispatch_thread_id, NULL /* no attributes */, dispatch_thread, NULL /* no argument */); @@ -3341,7 +3340,7 @@ static int network_init (void) if (receive_thread_running == 0) { int status; - status = pthread_create (&receive_thread_id, + status = plugin_thread_create (&receive_thread_id, NULL /* no attributes */, receive_thread, NULL /* no argument */);