summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorGravatar shankar2010-04-07 04:59:36 +0000
committerGravatar shankar2010-04-07 04:59:36 +0000
commit2a417ee2eed32bec5891afe14ec8be558ae46ad7 (patch)
tree4623823bcd1c56f6f41997be0747a6ee1fe2d2e0 /samples
parent48c0a6b1a304601958b6c35a0c2b0d0a56ae8bb6 (diff)
downloadaxis2c-2a417ee2eed32bec5891afe14ec8be558ae46ad7.tar.gz
axis2c-2a417ee2eed32bec5891afe14ec8be558ae46ad7.tar.bz2
Fixing assertion failure
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@931438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'samples')
-rw-r--r--samples/server/mtom/mtom_skeleton.c6
1 files changed, 2 insertions, 4 deletions
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;
}