diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index f57cef7ca0..df2435f8d3 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,8 @@ +2010-10-04 Ramon Novoa + + * modules/pandora_module_inventory.cc: Fixed XML generation for + inventory modules. + 2010-08-04 Ramon Novoa * Makefile.am: Use -static-libstdc++ to remove the dependency on diff --git a/pandora_agents/win32/modules/pandora_module_inventory.cc b/pandora_agents/win32/modules/pandora_module_inventory.cc index e399096c76..022d5e9a34 100644 --- a/pandora_agents/win32/modules/pandora_module_inventory.cc +++ b/pandora_agents/win32/modules/pandora_module_inventory.cc @@ -338,18 +338,17 @@ Pandora_Module_Inventory::getXml() { module_xml += "]]>\n"; module_xml += "\t\t\t\n"; - } else { - try { - data_clean = strreplace (this->getDataOutput (data), - "%", "%%" ); - } catch (Output_Error e) { - continue; - } + } - module_xml += "\t\t\t\t\n"; + try { + data_clean = strreplace (this->getDataOutput (data), "%", "%%" ); + } catch (Output_Error e) { + continue; } + + module_xml += "\t\t\t\t\n"; prev_module = current_module; }