2010-10-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.cc: Fixed XML generation for inventory modules. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8a34a54df0
commit
db70e74db3
|
@ -1,3 +1,8 @@
|
|||
2010-10-04 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* modules/pandora_module_inventory.cc: Fixed XML generation for
|
||||
inventory modules.
|
||||
|
||||
2010-08-04 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* Makefile.am: Use -static-libstdc++ to remove the dependency on
|
||||
|
|
|
@ -338,18 +338,17 @@ Pandora_Module_Inventory::getXml() {
|
|||
module_xml += "]]></type>\n";
|
||||
|
||||
module_xml += "\t\t\t<datalist>\n";
|
||||
} else {
|
||||
try {
|
||||
data_clean = strreplace (this->getDataOutput (data),
|
||||
"%", "%%" );
|
||||
} catch (Output_Error e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
module_xml += "\t\t\t\t<data><![CDATA[";
|
||||
module_xml += data_clean;
|
||||
module_xml += "]]></data>\n";
|
||||
try {
|
||||
data_clean = strreplace (this->getDataOutput (data), "%", "%%" );
|
||||
} catch (Output_Error e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
module_xml += "\t\t\t\t<data><![CDATA[";
|
||||
module_xml += data_clean;
|
||||
module_xml += "]]></data>\n";
|
||||
|
||||
prev_module = current_module;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue