axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billblo...@apache.org
Subject svn commit: r1838302 - /axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c
Date Sat, 18 Aug 2018 01:35:41 GMT
Author: billblough
Date: Sat Aug 18 01:35:41 2018
New Revision: 1838302

URL: http://svn.apache.org/viewvc?rev=1838302&view=rev
Log:
Explicitly return NULL on get_sub_code failure

Modified:
    axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c

Modified: axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c?rev=1838302&r1=1838301&r2=1838302&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c (original)
+++ axis/axis2/c/core/trunk/axiom/src/soap/soap_fault_sub_code.c Sat Aug 18 01:35:41 2018
@@ -248,7 +248,7 @@ axiom_soap_fault_sub_code_get_sub_code(
             status = axiom_soap_builder_next(fault_sub_code->builder, env);
             if(status == AXIS2_FAILURE)
             {
-                break;
+                return NULL;
             }
         }
     }



Mime
View raw message