summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-xml-output.c
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2012-12-20 13:27:13 +0530
committerVijay Bellur <vbellur@redhat.com>2013-01-08 23:33:10 -0800
commitf1b2faab5e28e1ea33401022e16aec161fbca353 (patch)
tree184e094b459fdaddc84953d984bd087de08030dd /cli/src/cli-xml-output.c
parentd3cc5862faa9ebda4d8d80f6b3e7a45c0df85c0c (diff)
cli: Fix task-id xml compilation
Change-Id: I92ada7d5ba1eb46024f47c4f32c517db27ada576 BUG: 857330 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/4342 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli/src/cli-xml-output.c')
-rw-r--r--cli/src/cli-xml-output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/src/cli-xml-output.c b/cli/src/cli-xml-output.c
index 7155ef539b8..80e063464b0 100644
--- a/cli/src/cli-xml-output.c
+++ b/cli/src/cli-xml-output.c
@@ -1386,6 +1386,7 @@ out:
#endif
}
+#if (HAVE_LIB_XML)
int
cli_xml_output_vol_status_tasks (cli_local_t *local, dict_t *dict) {
int ret = -1;
@@ -1453,6 +1454,7 @@ out:
gf_log ("cli", GF_LOG_DEBUG, "Returning %d", ret);
return ret;
}
+#endif
int
cli_xml_output_vol_status (cli_local_t *local, dict_t *dict)