summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}