[gupnp] UDN of embedded devices

From: Gábor Fekete <gabor.fekete@tietoenator.com>
Date: Wed Aug 01 2007 - 09:11:12 EDT

Hi,

I realized that the gupnp-device.c::gupnp_device_get_device()
function sets the UDN of embedded devices to the UDN of the
parent device.
Should not it be set to the UDN of the embedded device itself?
That is:

...
udn = xml_util_get_child_element_content_glib (element, "UDN");
if (!udn)
        udn = g_strdup (gupnp_device_info_get_udn (info));
...
device = _gupnp_device_new (context, ...
...
if (udn)
        g_free (udn);
...

I think it should, since embedded devices can have their own
UDN filed.

Regards,
Gabor Fekete

--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
Received on Wed, 01 Aug 2007 16:11:12 +0300

This archive was generated by hypermail 2.1.8 : Wed Aug 01 2007 - 10:00:08 EDT