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:
satbaby
2010-02-06 17:52:25 +00:00
parent 018ea25f4c
commit 4ae5ad688e
3 changed files with 2224 additions and 2208 deletions

View File

@@ -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;
}