From 2a417ee2eed32bec5891afe14ec8be558ae46ad7 Mon Sep 17 00:00:00 2001 From: shankar Date: Wed, 7 Apr 2010 04:59:36 +0000 Subject: Fixing assertion failure git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@931438 13f79535-47bb-0310-9956-ffa450edef68 --- samples/server/mtom/mtom_skeleton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'samples/server') diff --git a/samples/server/mtom/mtom_skeleton.c b/samples/server/mtom/mtom_skeleton.c index 3ef10b6..0fee87f 100644 --- a/samples/server/mtom/mtom_skeleton.c +++ b/samples/server/mtom/mtom_skeleton.c @@ -104,11 +104,9 @@ mtom_on_fault( * called 'EchoServiceError' */ axiom_node_t *error_node = NULL; - axiom_node_t *text_node = NULL; axiom_element_t *error_ele = NULL; - error_ele = axiom_element_create(env, node, "EchoServiceError", NULL, - &error_node); - axiom_element_set_text(error_ele, env, "Echo service failed ", text_node); + error_ele = axiom_element_create(env, node, "EchoServiceError", NULL, &error_node); + axiom_element_set_text(error_ele, env, "Echo service failed ", error_node); return error_node; } -- cgit v1.1-32-gdbae