diff options
author | Günther Wagner <info@gunibert.de> | 2022-06-18 00:06:04 +0200 |
---|---|---|
committer | Günther Wagner <info@gunibert.de> | 2022-06-18 01:01:30 +0200 |
commit | cad5496562a52e146ec5efc9265e7ef8e6e03ae3 (patch) | |
tree | f93bb17106cdc24c01abc47b254d22ea2b107f62 /tests/helper | |
parent | 2fc0a24574ee15704d588626f194dea2ca288997 (diff) | |
download | librest-cad5496562a52e146ec5efc9265e7ef8e6e03ae3.tar.gz |
meson: build with soup3 by default
Fixes https://gitlab.gnome.org/GNOME/librest/-/issues/11
Diffstat (limited to 'tests/helper')
-rw-r--r-- | tests/helper/test-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helper/test-server.c b/tests/helper/test-server.c index 1ddcb67..434d565 100644 --- a/tests/helper/test-server.c +++ b/tests/helper/test-server.c @@ -1,6 +1,6 @@ /* test-server.c * - * Copyright 2021 Günther Wagner <info@gunibert.de> + * Copyright 2021-2022 Günther Wagner <info@gunibert.de> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -85,7 +85,7 @@ run_server_thread (gpointer user_data) g_object_set_data (G_OBJECT (server), "GMainLoop", loop); // TODO: error handling - soup_server_listen_local (server, 0, 0, &error); + soup_server_listen_local (server, 0, SOUP_SERVER_LISTEN_IPV4_ONLY, &error); if (error != NULL) g_error ("%s", error->message); |