diff options
author | Ross Burton <ross@linux.intel.com> | 2009-06-18 14:50:08 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2009-06-18 14:50:08 +0100 |
commit | 6583f579a823b6d8e095aed03a1c867778e425c6 (patch) | |
tree | 9f79eaf8432404618e636a63f5f2033e62068686 /tests | |
parent | 0266c22844c7f770863440d8e8b4215c3b7467f5 (diff) | |
download | librest-6583f579a823b6d8e095aed03a1c867778e425c6.tar.gz |
Use 127.0.0.1 instead of localhost because we're using IPv4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/threaded.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threaded.c b/tests/threaded.c index 2ecfe49..e9b92c9 100644 --- a/tests/threaded.c +++ b/tests/threaded.c @@ -92,7 +92,7 @@ main (int argc, char **argv) soup_server_add_handler (server, NULL, server_callback, NULL, NULL); g_thread_create (soup_server_run, server, FALSE, NULL); - url = g_strdup_printf ("http://localhost:%d/", soup_server_get_port (server)); + url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server)); for (i = 0; i < G_N_ELEMENTS (threads); i++) { threads[i] = g_thread_create (func, url, TRUE, NULL); |