You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/12/29 03:39:01 UTC

svn commit: r359682 - /webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_header.c

Author: samisa
Date: Wed Dec 28 18:38:57 2005
New Revision: 359682

URL: http://svn.apache.org/viewcvs?rev=359682&view=rev
Log:
eleminated compiler warnings

Modified:
    webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_header.c

Modified: webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_header.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_header.c?rev=359682&r1=359681&r2=359682&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_header.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_header.c Wed Dec 28 18:38:57 2005
@@ -147,7 +147,7 @@
         return NULL;
     header_impl = AXIS2_INTF_TO_IMPL(header);        
         
-    parent_node = AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(envelope, env);
+    parent_node = AXIS2_SOAP_ENVELOPE_GET_BASE(envelope, env);
     parent_ele = (axis2_om_element_t *)AXIS2_OM_NODE_GET_DATA_ELEMENT(parent_node, env);
     parent_ns = AXIS2_OM_ELEMENT_GET_NAMESPACE(parent_ele, env);
     
@@ -232,8 +232,7 @@
                                  axis2_env_t **env,
                                  axis2_char_t* param_role)
 {
-    axis2_soap_header_impl_t *header_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS3_FUNC_PARAM_CHECK(header, env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, param_role, NULL);
     return AXIS2_INTF_TO_IMPL(header)->header_blocks;
 
@@ -368,5 +367,6 @@
     header = axis2_soap_header_create_with_parent(env, envelope);
     AXIS2_SOAP_HEADER_BLOCK_SET_SOAP_VERSION(header, env, AXIS2_SOAP11);
     return header;
-}                                     
-                                     
\ No newline at end of file
+}
+
+