commit | b94fb9e3d5c796e9536e36e0202e39b78b601f99 | [log] [tgz] |
---|---|---|
author | Bill Blough <billblough@apache.org> | Sat Aug 18 01:35:41 2018 +0000 |
committer | Bill Blough <billblough@apache.org> | Sat Aug 18 01:35:41 2018 +0000 |
tree | d6b7f02ebb84a0eb4fb5ffcf24086b500f946ded | |
parent | be65a78e4bef05f6710877ac4ff90c819eb18f2f [diff] |
Explicitly return NULL on get_sub_code failure
diff --git a/axiom/src/soap/soap_fault_sub_code.c b/axiom/src/soap/soap_fault_sub_code.c index cfaabef..ebfa0f3 100644 --- a/axiom/src/soap/soap_fault_sub_code.c +++ b/axiom/src/soap/soap_fault_sub_code.c
@@ -248,7 +248,7 @@ status = axiom_soap_builder_next(fault_sub_code->builder, env); if(status == AXIS2_FAILURE) { - break; + return NULL; } } }