1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net/gupnp/files/patch-libgupnp_gupnp-control-point.c
Martin Wilke 172f0797a0 GUPnP implements the UPnP specification: resource announcement and discovery,
description, control, event notification, and presentation
(GUPnP includes basic web server functionality through libsoup).

WWW:	http://www.gupnp.org/
2009-12-26 13:54:20 +00:00

12 lines
407 B
C

--- libgupnp/gupnp-control-point.c.orig 2009-08-24 18:29:33.000000000 +0200
+++ libgupnp/gupnp-control-point.c 2009-12-26 14:32:06.000000000 +0100
@@ -658,7 +658,7 @@
/* Count elements */
count = g_strv_length (bits);
- if (count == 1) {
+ if (count == 1 || (count == 2 && strlen(bits[1]) == 0)) {
/* uuid:device-UUID */
*udn = bits[0];