summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-09-16 15:09:40 +0200
committerJussi Kukkonen <jku@goto.fi>2014-07-08 12:15:53 +0300
commit676871f81ee51bc60de188220bb7569e2c5d6481 (patch)
treed44db77e114f996c4acc77313f8655e7a612a739
parent93345aa14496ff074d05d19d747017ac01cd5433 (diff)
downloaddleyna-server-676871f81ee51bc60de188220bb7569e2c5d6481.tar.gz
[Deprecated API] Use new API instead of deprecated
Use instead gssdp_client_get_host_ip of gupnp_context_get_host_ip Fix issue #104: <https://github.com/01org/dleyna-server/issues/104> Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
-rw-r--r--libdleyna/server/upnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdleyna/server/upnp.c b/libdleyna/server/upnp.c
index 5f87458..b34871e 100644
--- a/libdleyna/server/upnp.c
+++ b/libdleyna/server/upnp.c
@@ -212,8 +212,8 @@ static void prv_device_available_cb(GUPnPControlPoint *cp,
udn = gupnp_device_info_get_udn(device_proxy);
- ip_address = gupnp_context_get_host_ip(
- gupnp_control_point_get_context(cp));
+ ip_address = gssdp_client_get_host_ip(
+ GSSDP_CLIENT(gupnp_control_point_get_context(cp)));
if (!udn || !ip_address)
goto on_error;