Add a g_thread_init() so this works again.
authorDan Winship <danw@src.gnome.org>
Mon, 12 Jan 2004 14:55:22 +0000 (14:55 +0000)
committerDan Winship <danw@src.gnome.org>
Mon, 12 Jan 2004 14:55:22 +0000 (14:55 +0000)
* tests/simple-httpd.c (main): Add a g_thread_init() so this works
again.

ChangeLog
tests/simple-httpd.c

index dcb8633..74a246a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-12  Dan Winship  <danw@ximian.com>
+
+       * tests/simple-httpd.c (main): Add a g_thread_init() so this works
+       again.
+
 2004-01-10  Larry Ewing  <lewing@ximian.com>
 
        * libsoup-2.2.pc.in (Libs): use LIBGNUTLS_LIBS in the substitution
index db2ad41..d50f38e 100644 (file)
@@ -128,6 +128,7 @@ main (int argc, char **argv)
        const char *ssl_cert_file = NULL, *ssl_key_file = NULL;
 
        g_type_init ();
+       g_thread_init (NULL);
        signal (SIGINT, quit);
 
        while ((opt = getopt (argc, argv, "p:k:c:s:")) != -1) {