mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Revert "bug #1258: Adds a endl character to any string before parsing"
This reverts commit 1d40fa31142db48216a5948e583ff486d775abfe.
This commit is contained in:
parent
1d40fa3114
commit
a63d5a9fcc
@ -150,12 +150,9 @@ int Template::parse_str_or_xml(const string &parse_str, string& error_msg)
|
||||
}
|
||||
else
|
||||
{
|
||||
char * error_char = 0;
|
||||
ostringstream oss;
|
||||
char * error_char = 0;
|
||||
|
||||
oss << parse_str << endl;
|
||||
|
||||
rc = parse(oss.str(), &error_char);
|
||||
rc = parse(parse_str, &error_char);
|
||||
|
||||
if ( rc != 0 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user