[totem-pl-parser/wip/hadess/atom-podcast-fixes: 2/4] podcast: Fix copy/paste error in parsing license in Atom



commit d0a75b509fef956351fe3f028712df77389b834b
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 11 03:04:28 2019 +0100

    podcast: Fix copy/paste error in parsing license in Atom

 plparse/totem-pl-parser-podcast.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index 64b825a..54b336a 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -444,7 +444,7 @@ parse_atom_entry (TotemPlParser *parser, xml_node_t *parent)
                                        continue;
                                uri = href;
                                filesize = xml_parser_get_property (node, "length");
-                       } else if (g_ascii_strcasecmp (node->name, "license") == 0) {
+                       } else if (g_ascii_strcasecmp (rel, "license") == 0) {
                                const char *href;
 
                                href = xml_parser_get_property (node, "href");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]