Use the new g_strv_contains
[platform/upstream/glib.git] / gio / tests / echo-server.c
index 1aa3166..7634b5b 100644 (file)
@@ -42,9 +42,6 @@ main (int argc, char *argv[])
   GOptionContext *context;
   GError *error = NULL;
 
-  g_type_init ();
-  g_thread_init (NULL);
-
   context = g_option_context_new (" - Test GSocket server stuff");
   g_option_context_add_main_entries (context, cmd_entries, NULL);
   if (!g_option_context_parse (context, &argc, &argv, &error))
@@ -53,7 +50,7 @@ main (int argc, char *argv[])
       return 1;
     }
 
-  service = g_threaded_socket_service_new ();
+  service = g_threaded_socket_service_new (10);
 
   if (!g_socket_listener_add_inet_port (G_SOCKET_LISTENER (service),
                                        port,