Correct the use of pthread_create() in several places.
[claws.git] / src / plugins / pgpcore / sgpgme.c
index db9b354aaf3d1f95452080fef1fd0ce681cafd2c..2290526a7541e5cd4b0faf03eaa8b39a7a09a0df 100644 (file)
@@ -1049,7 +1049,7 @@ again:
                        ectx->exitcode = STILL_ACTIVE;
                        ectx->cmd = cmd;
 
-                       if (pthread_create(&pt, PTHREAD_CREATE_JOINABLE,
+                       if (pthread_create(&pt, NULL,
                                                _export_threaded, (void *)ectx) != 0) {
                                debug_print("Couldn't create thread, continuing unthreaded.\n");
                                _export_threaded(ctx);