summaryrefslogtreecommitdiff
path: root/tests/custom-serialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom-serialize.c')
-rw-r--r--tests/custom-serialize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/custom-serialize.c b/tests/custom-serialize.c
index f683941..c4ca541 100644
--- a/tests/custom-serialize.c
+++ b/tests/custom-serialize.c
@@ -123,10 +123,10 @@ main (int argc, char **argv)
server = soup_server_new (NULL);
soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
- g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL);
-
url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server));
+ g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL);
+
proxy = rest_proxy_new (url, FALSE);
call = g_object_new (REST_TYPE_CUSTOM_PROXY_CALL, "proxy", proxy, NULL);