[librest/gwagner/deprecated: 7/14] fixed sentinel warning in tests




commit 0f7256dee5d3bf47149b9441527b1840916867cf
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/threaded.c         | 2 +-
 2 files changed, 2 insertions(+), 2 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/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]