aboutsummaryrefslogtreecommitdiffstats
path: root/net/gupnp/files/patch-libgupnp-gupnp-control-point.c
blob: 18e7ba02f93684ce3b1aa6252dbeaa8d669d72f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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];