From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 26 Jul 2007 22:23:13 -0000 Subject: [Cluster-devel] conga/ricci/common XML.cpp Message-ID: <20070726222313.1894.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/XML.cpp.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.6.2.3&r2=1.6.2.4 --- conga/ricci/common/XML.cpp 2007/06/18 18:39:50 1.6.2.3 +++ conga/ricci/common/XML.cpp 2007/07/26 22:23:13 1.6.2.4 @@ -119,15 +119,15 @@ xml += " " + name + "=\"" + value + "\""; } if (children().empty()) - xml += "/>"; + xml += "/>\n"; else { - xml += ">"; + xml += ">\n"; for (list::const_iterator iter = children().begin(); iter != children().end(); iter++) { - iter->generate_xml(xml, indent); + iter->generate_xml(xml, indent + "\t"); } - xml += indent + ""; + xml += indent + "\n"; } }