mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
format with astyle
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@278 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4ae5ad688e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-06 (Sat, 06 Feb 2010)
------------------
This commit was generated by Migit
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