summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-05-03 22:39:16 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2022-05-25 14:24:58 -0400
commit79a1e4cf8c256132978a1d8ab718c8ad132386de (patch)
treebdee512aff1272b24f358c8b6a919e33a272836c /tests
parentbb1e3ded40d346f5180831dc28e857d0d89d1f7b (diff)
downloadgupnp-igd-79a1e4cf8c256132978a1d8ab718c8ad132386de.tar.gz
Port to GUPnP 1.6 API
And thus to libsoup3. The code changes are even compatible with GUPnP 1.4.3 so the gupnp version could be a configure option
Diffstat (limited to 'tests')
-rw-r--r--tests/gtest/gupnp-simple-igd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gtest/gupnp-simple-igd.c b/tests/gtest/gupnp-simple-igd.c
index 593c46e..ec770ca 100644
--- a/tests/gtest/gupnp-simple-igd.c
+++ b/tests/gtest/gupnp-simple-igd.c
@@ -88,7 +88,7 @@ get_external_ip_address_cb (GUPnPService *service,
else
g_assert_not_reached ();
- gupnp_service_action_return (action);
+ gupnp_service_action_return_success (action);
}
@@ -139,7 +139,7 @@ add_port_mapping_cb (GUPnPService *service,
if (return_conflict && external_port == INTERNAL_PORT)
gupnp_service_action_return_error (action, 718, "ConflictInMappingEntry");
else
- gupnp_service_action_return (action);
+ gupnp_service_action_return_success (action);
}
static gboolean
@@ -172,7 +172,7 @@ delete_port_mapping_cb (GUPnPService *service,
g_assert (external_port != INTERNAL_PORT);
g_assert (proto && !strcmp (proto, "UDP"));
- gupnp_service_action_return (action);
+ gupnp_service_action_return_success (action);
g_free (remote_host);
g_free (proto);