diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-12-26 13:53:36 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-12-26 13:53:36 +0000 |
commit | 78c652efbf0cbc53885a4797bcbcdfbb4c29f0d9 (patch) | |
tree | f9863baa14b7b1b20f49f61012fb36e64cc60130 /net/gssdp/files/patch-tools-gssdp-devices-sniffer.c | |
parent | - Update to 1.7.2 (diff) |
A GObject-based API for handling resource discovery and announcement
over SSDP.
WWW: http://www.gupnp.org/
Diffstat (limited to 'net/gssdp/files/patch-tools-gssdp-devices-sniffer.c')
-rw-r--r-- | net/gssdp/files/patch-tools-gssdp-devices-sniffer.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/gssdp/files/patch-tools-gssdp-devices-sniffer.c b/net/gssdp/files/patch-tools-gssdp-devices-sniffer.c new file mode 100644 index 000000000000..a4c5da117b12 --- /dev/null +++ b/net/gssdp/files/patch-tools-gssdp-devices-sniffer.c @@ -0,0 +1,11 @@ +--- tools/gssdp-device-sniffer.c.orig 2009-07-29 15:53:32.000000000 +0200 ++++ tools/gssdp-device-sniffer.c 2009-12-26 13:56:48.000000000 +0100 +@@ -319,7 +319,7 @@ + + uuid = usn_tokens[0] + 5; /* skip the prefix 'uuid:' */ + +- if (usn_tokens[1]) { ++ if (usn_tokens[1] && strlen(usn_tokens[1]) != 0) { + char **urn_tokens; + + urn_tokens = g_strsplit (usn_tokens[1], ":device:", -1); |