mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
xmlinterface use const char instand char
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8227a01592
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -252,7 +252,7 @@ bool cYTFeedParser::saveToFile(const char * name, std::string str)
|
||||
std::string cYTFeedParser::getXmlName(xmlNodePtr node)
|
||||
{
|
||||
std::string result;
|
||||
char * name = xmlGetName(node);
|
||||
const char * name = xmlGetName(node);
|
||||
if (name)
|
||||
result = name;
|
||||
return result;
|
||||
@@ -261,7 +261,7 @@ std::string cYTFeedParser::getXmlName(xmlNodePtr node)
|
||||
std::string cYTFeedParser::getXmlAttr(xmlNodePtr node, const char * attr)
|
||||
{
|
||||
std::string result;
|
||||
char * value = xmlGetAttribute(node, attr);
|
||||
const char * value = xmlGetAttribute(node, attr);
|
||||
if (value)
|
||||
result = value;
|
||||
return result;
|
||||
@@ -270,7 +270,7 @@ std::string cYTFeedParser::getXmlAttr(xmlNodePtr node, const char * attr)
|
||||
std::string cYTFeedParser::getXmlData(xmlNodePtr node)
|
||||
{
|
||||
std::string result;
|
||||
char * value = xmlGetData(node);
|
||||
const char * value = xmlGetData(node);
|
||||
if (value)
|
||||
result = value;
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user