mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
format with astyle
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@278 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -182,17 +182,17 @@ xmlDocPtr parseXml(const char * data)
|
||||
|
||||
if (!tree_parser->Parse(data, strlen(data), true))
|
||||
{
|
||||
printf("Error parsing XML Data: %s at line %d\n",
|
||||
tree_parser->ErrorString(tree_parser->GetErrorCode()),
|
||||
tree_parser->GetCurrentLineNumber());
|
||||
printf("Error parsing XML Data: %s at line %d\n",
|
||||
tree_parser->ErrorString(tree_parser->GetErrorCode()),
|
||||
tree_parser->GetCurrentLineNumber());
|
||||
|
||||
delete tree_parser;
|
||||
return NULL;
|
||||
}
|
||||
delete tree_parser;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!tree_parser->RootNode())
|
||||
{
|
||||
printf("Error: No Root Node\n");
|
||||
printf("Error: No Root Node\n");
|
||||
delete tree_parser;
|
||||
return NULL;
|
||||
}
|
||||
@@ -211,7 +211,7 @@ xmlDocPtr parseXmlFile(const char * filename, bool warning_by_nonexistence /* =
|
||||
|
||||
if (xml_file == NULL)
|
||||
{
|
||||
if (warning_by_nonexistence)
|
||||
if (warning_by_nonexistence)
|
||||
perror(filename);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user