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:
Jacek Jendrzej
2010-02-06 17:52:25 +00:00
parent aef41c4446
commit 610bc9ed73
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;
}