diff options
author | Kaushal M <kaushal@redhat.com> | 2012-12-29 12:43:59 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-01-16 23:59:48 -0800 |
commit | cea939a5b11bd035f87232e0f3178d832dcbdf1f (patch) | |
tree | 46d2917284035184e1166dc0fb647145abe00861 /cli/src/cli.h | |
parent | b445678d03b5ad18f85b025f72384b9a343ec9ee (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.h | 2 |
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 }; |