diff options
Diffstat (limited to 'tests/test-utils.c')
-rw-r--r-- | tests/test-utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-utils.c b/tests/test-utils.c index 05eaba0a..47f1db01 100644 --- a/tests/test-utils.c +++ b/tests/test-utils.c @@ -296,8 +296,7 @@ test_server_new (gboolean in_own_thread, gboolean ssl) if (in_own_thread) { GThread *thread; - thread = g_thread_create (run_server_thread, server, - TRUE, NULL); + thread = g_thread_new ("server_thread", run_server_thread, server); g_object_set_data (G_OBJECT (server), "thread", thread); } else soup_server_run_async (server); |