freebsd-ports/net/gupnp/files/patch-libgupnp-gupnp-control-point.c
Sunpoet Po-Chuan Hsieh 1c60d3b264 - Update to 0.20.14
- Regenerate patch file with makepatch:

Changes:	http://git.gnome.org/browse/gupnp/tree/NEWS
2015-05-13 19:00:47 +00:00

11 lines
387 B
C

--- libgupnp/gupnp-control-point.c.orig 2015-03-30 17:49:16 UTC
+++ libgupnp/gupnp-control-point.c
@@ -692,7 +692,7 @@ parse_usn (const char *usn,
/* 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];