Partial UPnP fix from Christian Henz, from Ralf Huvendiek.
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 10 Aug 2006 14:27:28 +0000 (14:27 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 10 Aug 2006 14:27:28 +0000 (14:27 +0000)
modules/services_discovery/upnp_intel.cpp

index 9b81e44..f04fae6 100644 (file)
@@ -411,7 +411,9 @@ IXML_Document* parseBrowseResult( IXML_Document* doc )
     if ( !textNode ) return 0;
 
     const char* resultString = ixmlNode_getNodeValue( textNode );
-    char* resultXML = convert_xml_special_chars( resultString );
+    char* resultXML = strdup( resultString );
+    
+    resolve_xml_special_chars( resultXML );
 
     IXML_Document* browseDoc = ixmlParseBuffer( resultXML );