Code

curl plugin: Don't abort when reading the response code failed.
[collectd.git] / src / ipmi.c
index 7eafea866240c9f790d9e5139a7eef6c096da1eb..fada5bdc3462a1d40396c9aa3fc4fe71f1dbe1e9 100644 (file)
@@ -669,7 +669,7 @@ static int c_ipmi_init (void)
 
   c_ipmi_active = 1;
 
-  status = pthread_create (&thread_id, /* attr = */ NULL, thread_main,
+  status = plugin_thread_create (&thread_id, /* attr = */ NULL, thread_main,
       /* user data = */ NULL);
   if (status != 0)
   {