summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2012-12-29 12:43:59 +0530
committerAnand Avati <avati@redhat.com>2013-01-16 23:59:48 -0800
commitcea939a5b11bd035f87232e0f3178d832dcbdf1f (patch)
tree46d2917284035184e1166dc0fb647145abe00861 /cli/src/cli.h
parentb445678d03b5ad18f85b025f72384b9a343ec9ee (diff)
cli: output xml in pretty format
Gluster cli now prints XML outputs in 'pretty' format. This solves the problem of empty elements occuring as two tags instead of being collapsed into one. Change-Id: Iab7aeadcff29c18ae388b58e446a16e937ac09ed BUG: 849293 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/4355 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 6e05e099645..ab401043d98 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -141,7 +141,7 @@ struct cli_local {
gf_boolean_t all;
#if (HAVE_LIB_XML)
xmlTextWriterPtr writer;
- xmlBufferPtr buf;
+ xmlDocPtr doc;
int vol_count;
#endif
};