]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
virt plugin: set bool to false, not 0
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 24 May 2018 12:03:02 +0000 (14:03 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 24 May 2018 12:03:02 +0000 (14:03 +0200)
src/virt.c

index caaf077ea0026b6ff24a8d0ef6da82fab1b28e85..9f87d2c24b85c9cc03c638e72a837fbe3940d345 100644 (file)
@@ -1899,7 +1899,7 @@ static int virt_notif_thread_init(virt_notif_thread_t *thread_data) {
    */
   thread_data->domain_event_cb_id = -1;
   pthread_mutex_lock(&thread_data->active_mutex);
-  thread_data->is_active = 0;
+  thread_data->is_active = false;
   pthread_mutex_unlock(&thread_data->active_mutex);
 
   return 0;