axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r359680 - in /webservices/axis2/trunk/c: include/ modules/util/src/ modules/xml/om/src/ modules/xml/soap/src/
Date Thu, 29 Dec 2005 02:32:21 GMT
Author: samisa
Date: Wed Dec 28 18:32:06 2005
New Revision: 359680

URL: http://svn.apache.org/viewcvs?rev=359680&view=rev
Log:
Fixed errors and eliminated warnings

Modified:
    webservices/axis2/trunk/c/include/axis2_soap_fault_code.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_node.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_role.h
    webservices/axis2/trunk/c/include/axis2_soap_utils.h
    webservices/axis2/trunk/c/modules/util/src/string.c
    webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_children_qname_iterator.c
    webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_document.c
    webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_element.c
    webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_fault.c

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_code.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_code.h?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_code.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_code.h Wed Dec 28 18:32:06 2005
@@ -162,4 +162,6 @@
 #ifdef __cplusplus
 }
 #endif
-#endif /* AXIS2_SOAP_FAULT_CODE_H */
\ No newline at end of file
+#endif /* AXIS2_SOAP_FAULT_CODE_H */
+
+

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h Wed Dec 28 18:32:06 2005
@@ -150,4 +150,6 @@
 }
 #endif
  
- #endif /* AXIS2_SOAP_FAULT_DETAIL_H */
\ No newline at end of file
+#endif /* AXIS2_SOAP_FAULT_DETAIL_H */
+
+

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_node.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_node.h?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_node.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_node.h Wed Dec 28 18:32:06 2005
@@ -139,4 +139,6 @@
 }
 #endif
 
-#endif /* AXIS2_SOAP_FAULT_NODE_H */
\ No newline at end of file
+#endif /* AXIS2_SOAP_FAULT_NODE_H */
+
+

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h Wed Dec 28 18:32:06 2005
@@ -146,4 +146,6 @@
 }
 #endif
 
-#endif /* AXIS2_SOAP_FAULT_REASON_H */
\ No newline at end of file
+#endif /* AXIS2_SOAP_FAULT_REASON_H */
+
+

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_role.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_role.h?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_role.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_role.h Wed Dec 28 18:32:06 2005
@@ -148,4 +148,6 @@
 }
 #endif
  
- #endif /* AXIS2_SOAP_FAULT_ROLE_H */
\ No newline at end of file
+#endif /* AXIS2_SOAP_FAULT_ROLE_H */
+
+

Modified: webservices/axis2/trunk/c/include/axis2_soap_utils.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_utils.h?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_utils.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_utils.h Wed Dec 28 18:32:06 2005
@@ -49,4 +49,6 @@
 }
 #endif
 
-#endif /* AXIS2_SOAP_UTILS_H */
\ No newline at end of file
+#endif /* AXIS2_SOAP_UTILS_H */
+
+

Modified: webservices/axis2/trunk/c/modules/util/src/string.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/src/string.c?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/src/string.c (original)
+++ webservices/axis2/trunk/c/modules/util/src/string.c Wed Dec 28 18:32:06 2005
@@ -59,7 +59,7 @@
     }
     if(NULL == s2)
     {
-        return (axis2_char_t)AXIS2_STRDUP(s1, env);
+        return (axis2_char_t*)AXIS2_STRDUP(s1, env);
     }
     alloc_len = axis2_strlen(s1) + axis2_strlen(s2) + 1;
     ret = (axis2_char_t*)AXIS2_MALLOC((*env)->allocator,

Modified: webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_children_qname_iterator.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_children_qname_iterator.c?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_children_qname_iterator.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_children_qname_iterator.c Wed Dec
28 18:32:06 2005
@@ -254,13 +254,14 @@
         ele_nsuri = AXIS2_QNAME_GET_URI(element_qname, env);
     }
     
-    lparts_match = !match_lpart || 
-                    (AXIS2_STRCMP(match_lpart,"") == 0) ||
-                    element_qname && (AXIS2_STRCMP(ele_lpart, match_lpart) == 0)
;
+    lparts_match = ( !match_lpart || 
+                     (AXIS2_STRCMP(match_lpart,"") == 0) ||
+                     (element_qname && (AXIS2_STRCMP(ele_lpart, match_lpart) == 0)));
 
     
-    uris_match = !match_nsuri || (AXIS2_STRCMP(match_nsuri,"") == 0) ||
-                       element_qname && (AXIS2_STRCMP(ele_nsuri, match_nsuri) ==
0);
+    uris_match = ( !match_nsuri || (AXIS2_STRCMP(match_nsuri,"") == 0) ||
+                       (element_qname && (AXIS2_STRCMP(ele_nsuri, match_nsuri) ==
0)));
     
     return lparts_match && uris_match;   
 }
+

Modified: webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_document.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_document.c?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_document.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_document.c Wed Dec 28 18:32:06 2005
@@ -332,4 +332,5 @@
         return AXIS2_FAILURE;
     }
     return AXIS2_OM_NODE_SERIALIZE(document_impl->root_element, env, om_output);
-}                            
\ No newline at end of file
+}
+

Modified: webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_element.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_element.c?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_element.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_element.c Wed Dec 28 18:32:06 2005
@@ -1135,7 +1135,7 @@
     xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0);
     om_output = axis2_om_output_create(env, xml_writer);
     status = AXIS2_OM_NODE_SERIALIZE(element_node, env, om_output);
-    if(status = AXIS2_SUCCESS)
+    if(status == AXIS2_SUCCESS)
     {
         xml = AXIS2_XML_WRITER_GET_XML(xml_writer, env);
     }
@@ -1158,4 +1158,6 @@
         return axis2_om_child_element_iterator_create(env, first_node);
    }
    else return NULL;
-}                                    
\ No newline at end of file
+}
+
+

Modified: webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_fault.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_fault.c?rev=359680&r1=359679&r2=359680&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_fault.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/src/axis2_soap_fault.c Wed Dec 28 18:32:06
2005
@@ -322,7 +322,6 @@
 {
     axis2_soap_fault_impl_t *fault_impl = NULL;
     axis2_om_node_t *code_node = NULL;
-    axis2_om_node_t *this_node = NULL;
     axis2_om_node_t *my_node = NULL;
     
     AXIS2_FUNC_PARAM_CHECK(fault, env, AXIS2_FAILURE);
@@ -383,7 +382,6 @@
 {
     axis2_soap_fault_impl_t *fault_impl = NULL;
     axis2_om_node_t *reason_node = NULL;
-    axis2_om_node_t *this_node = NULL;
     axis2_om_node_t *my_node = NULL;
     
     AXIS2_FUNC_PARAM_CHECK(fault, env, AXIS2_FAILURE);
@@ -445,7 +443,6 @@
 {
     axis2_soap_fault_impl_t *fault_impl = NULL;
     axis2_om_node_t *node_node = NULL;
-    axis2_om_node_t *this_node = NULL;
     axis2_om_node_t *my_node = NULL;
     
     AXIS2_FUNC_PARAM_CHECK(fault, env, AXIS2_FAILURE);
@@ -508,7 +505,6 @@
 {
     axis2_soap_fault_impl_t *fault_impl = NULL;
     axis2_om_node_t *role_node = NULL;
-    axis2_om_node_t *this_node = NULL;
     axis2_om_node_t *my_node = NULL;
     
     AXIS2_FUNC_PARAM_CHECK(fault, env, AXIS2_FAILURE);
@@ -570,7 +566,6 @@
 {
     axis2_soap_fault_impl_t *fault_impl = NULL;
     axis2_om_node_t *detail_node = NULL;
-    axis2_om_node_t *this_node = NULL;
     axis2_om_node_t *my_node = NULL;
     
     AXIS2_FUNC_PARAM_CHECK(fault, env, AXIS2_FAILURE);



Mime
View raw message