[librest/gwagner/deprecated: 4/10] fixed sentinel warning in tests
- From: Günther Wagner <gwagner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/gwagner/deprecated: 4/10] fixed sentinel warning in tests
- Date: Tue, 28 Dec 2021 18:40:02 +0000 (UTC)
commit 5844a684a6ca2b33aca0f8155805c11eb1263554
Author: Günther Wagner <info gunibert de>
Date: Wed Dec 22 23:01:48 2021 +0100
fixed sentinel warning in tests
tests/proxy-continuous.c | 2 +-
tests/proxy.c | 2 +-
tests/threaded.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/proxy-continuous.c b/tests/proxy-continuous.c
index efc3de1..f489af5 100644
--- a/tests/proxy-continuous.c
+++ b/tests/proxy-continuous.c
@@ -154,7 +154,7 @@ continuous ()
GSList *uris;
- server = soup_server_new (NULL);
+ server = soup_server_new (NULL, NULL);
soup_server_listen_local (server, 0, 0, &error);
g_assert_no_error (error);
diff --git a/tests/proxy.c b/tests/proxy.c
index d6c05a5..faf6301 100644
--- a/tests/proxy.c
+++ b/tests/proxy.c
@@ -381,7 +381,7 @@ main (int argc, char **argv)
char *url;
RestProxy *proxy;
- server = soup_server_new (NULL);
+ server = soup_server_new (NULL, NULL);
g_thread_new ("Server Thread", server_thread_func, NULL);
url = g_strdup_printf ("http://127.0.0.1:%d/", PORT);
diff --git a/tests/threaded.c b/tests/threaded.c
index 411361c..385156c 100644
--- a/tests/threaded.c
+++ b/tests/threaded.c
@@ -95,7 +95,7 @@ static void ping ()
int i;
GSList *uris;
- server = soup_server_new (NULL);
+ server = soup_server_new (NULL, NULL);
soup_server_listen_local (server, 0, 0, &error);
g_assert_no_error (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]