1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

feature #212: Fixed some minor bugs

This commit is contained in:
Carlos Martin and Ruben S. Montero 2010-05-14 18:23:53 +02:00 committed by Ruben S. Montero
parent 8832b9d8f5
commit f4a30f95ef
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ int HostPoolXML::set_up()
for (it=objects.begin();it!=objects.end();it++)
{
oss << " " << it->second;
oss << " " << it->first;
}
NebulaLog::log("HOST",Log::DEBUG,oss);

View File

@ -32,7 +32,7 @@ int VirtualMachinePoolXML::set_up()
for (it=objects.begin();it!=objects.end();it++)
{
oss << " " << it->second;
oss << " " << it->first;
}
NebulaLog::log("VM",Log::DEBUG,oss);
@ -54,7 +54,7 @@ void VirtualMachinePoolXML::add_object(xmlNodePtr node)
return;
}
xmlChar * str_ptr = xmlNodeGetContent(node->children->next);
xmlChar * str_ptr = xmlNodeGetContent(node->children);
istringstream iss(reinterpret_cast<char *>(str_ptr));
int vid;