[gupnp-av] Ignore case for DIDLLite and LastChange parsing
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-av] Ignore case for DIDLLite and LastChange parsing
- Date: Sun, 19 Aug 2012 16:00:46 +0000 (UTC)
commit 67d1c502aeaaaca209f2452fba087455a6b1e61e
Author: Jens Georg <mail jensge org>
Date: Fri Jul 13 09:16:34 2012 +0200
Ignore case for DIDLLite and LastChange parsing
"Be tolerant in what you accept". Especially the correct casing of
Metadata seems problematic, causing issues in parsing LastChange from
various renderers.
https://bugzilla.gnome.org/show_bug.cgi?id=678784
libgupnp-av/xml-util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp-av/xml-util.c b/libgupnp-av/xml-util.c
index d25da7a..d056af8 100644
--- a/libgupnp-av/xml-util.c
+++ b/libgupnp-av/xml-util.c
@@ -44,7 +44,7 @@ xml_util_get_element (xmlNode *node,
if (node->name == NULL)
continue;
- if (!strcmp (arg, (char *) node->name))
+ if (!g_ascii_strcasecmp (arg, (char *) node->name))
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]