conga/ricci/common XML.cpp
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2007-07-26 22:23:13
Modified files:
ricci/common : XML.cpp
Log message:
Fix bz249351: conga reports that ricci agent is unresponsive even though it's running
ricci/common/XML.cpp +4 -4
@@ -119,15 +119,15 @@ xml += " " + name + "=\"" + value + "\""; } if (children().empty()) - xml += "/>"; + xml += "/>\n"; else { - xml += ">"; + xml += ">\n"; for (list<XMLObject>::const_iterator iter = children().begin(); iter != children().end(); iter++) { - iter->generate_xml(xml, indent); + iter->generate_xml(xml, indent + "\t"); } - xml += indent + "</" + _tag + ">"; + xml += indent + "</" + _tag + ">\n"; } }