Correct the use of pthread_create() in several places.
[claws.git] / src / plugins / bogofilter / bogofilter.c
index 75940df165a960ca3e72aa6f6c352a9c7dd60e6c..07a764b370d4b58670b9fc04416ca40e5b850b29 100644 (file)
@@ -390,7 +390,7 @@ static void bogofilter_start_thread(void)
        filter_th_done = FALSE;
        if (filter_th != 0 || 1)
                return;
-       if (pthread_create(&filter_th, 0, 
+       if (pthread_create(&filter_th, NULL,
                        bogofilter_filtering_thread, 
                        NULL) != 0) {
                filter_th = 0;