From cea939a5b11bd035f87232e0f3178d832dcbdf1f Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Sat, 29 Dec 2012 12:43:59 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/4355 Reviewed-by: Krutika Dhananjay Tested-by: Gluster Build System Reviewed-by: Anand Avati --- cli/src/cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/src/cli.h') 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 }; -- cgit