X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Famqp.c;h=db65791626c69c0faf6b9e8feff87269a8f29f95;hb=76e6392863d130ceca048eb860e4db1c9e40fee7;hp=30a85810139fd489d2e440ad5e39fce220d1bbec;hpb=32eb98cd7911b291e6341242971142e4ef5567f4;p=collectd.git diff --git a/src/amqp.c b/src/amqp.c index 30a85810..db657916 100644 --- a/src/amqp.c +++ b/src/amqp.c @@ -610,7 +610,7 @@ static int camqp_subscribe_init (camqp_config_t *conf) /* {{{ */ tmp = subscriber_threads + subscriber_threads_num; memset (tmp, 0, sizeof (*tmp)); - status = pthread_create (tmp, /* attr = */ NULL, + status = plugin_thread_create (tmp, /* attr = */ NULL, camqp_subscribe_thread, conf); if (status != 0) {