You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ka...@apache.org on 2007/02/19 09:29:42 UTC

svn commit: r509128 - /webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c

Author: kaushalye
Date: Mon Feb 19 00:29:42 2007
New Revision: 509128

URL: http://svn.apache.org/viewvc?view=rev&rev=509128
Log:
Fixed the windows build break


Modified:
    webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c

Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c?view=diff&rev=509128&r1=509127&r2=509128
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c Mon Feb 19 00:29:42 2007
@@ -680,6 +680,7 @@
     axiom_namespace_t *ns = NULL;
     /*axiom_children_iterator_t *child_itr = NULL;*/
     c14n_ns_stack_t *save_stack = NULL;
+    axiom_node_t *child_node = NULL;
 
     ele = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT((axiom_node_t *)node, 
             ctx->env);
@@ -730,7 +731,6 @@
 
     /*process child elements*/
     
-    axiom_node_t *child_node = NULL;
     child_node = AXIOM_NODE_GET_FIRST_CHILD((axiom_node_t *)node, ctx->env);
 
     while (child_node)
@@ -1218,9 +1218,10 @@
         
                 if (v)
                 {
+                    axis2_char_t *pfx = NULL;
                     ns = (axiom_namespace_t *) v;
                      
-                    axis2_char_t *pfx = AXIOM_NAMESPACE_GET_PREFIX(ns, ctx->env);
+                    pfx = AXIOM_NAMESPACE_GET_PREFIX(ns, ctx->env);
                     /*axis2_char_t *uri = AXIOM_NAMESPACE_GET_URI(ns, ctx->env);*/
                     
                     if (AXIS2_STRLEN(pfx) == 0)



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org