axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r643802 - /webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c
Date Wed, 02 Apr 2008 09:03:38 GMT
Author: lahiru
Date: Wed Apr  2 02:03:35 2008
New Revision: 643802

URL: http://svn.apache.org/viewvc?rev=643802&view=rev
Log:
Hackathon:code improvements

Modified:
    webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c

Modified: webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c?rev=643802&r1=643801&r2=643802&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap12_builder_helper.c Wed Apr  2 02:03:35 2008
@@ -460,15 +460,17 @@
 
                     soap_fault_value = axiom_soap_fault_value_create(env);
                     if (!soap_fault_value)
+                    {
                         return AXIS2_FAILURE;
-
+                    }
                     axiom_soap_fault_value_set_base_node(soap_fault_value, env,
                                                          om_ele_node);
 
                     parent_fcode = axiom_soap_fault_get_code(soap_fault, env);
                     if (!parent_fcode)
+                    {
                         return AXIS2_FAILURE;
-
+                    }
                     axiom_soap_fault_code_set_value(parent_fcode, env,
                                                     soap_fault_value);
 
@@ -498,16 +500,18 @@
 
                         fault_subcode = axiom_soap_fault_sub_code_create(env);
                         if (!fault_subcode)
+                        {
                             return AXIS2_FAILURE;
-
+                        }
                         axiom_soap_fault_sub_code_set_base_node(fault_subcode,
                                                                 env,
                                                                 om_ele_node);
 
                         fault_code = axiom_soap_fault_get_code(soap_fault, env);
                         if (!fault_code)
+                        {
                             return AXIS2_FAILURE;
-
+                        }
                         axiom_soap_fault_code_set_sub_code(fault_code, env,
                                                            fault_subcode);
 



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


Mime
View raw message