axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billblo...@apache.org
Subject svn commit: r1830638 - /axis/axis2/c/core/trunk/src/core/description/op.c
Date Mon, 30 Apr 2018 23:56:03 GMT
Author: billblough
Date: Mon Apr 30 23:56:03 2018
New Revision: 1830638

URL: http://svn.apache.org/viewvc?rev=1830638&view=rev
Log:
Use helper function to add to engaged modules

Use the existing helper function to add a module to the engaged modules list,
rather than modifying the list directly.  This handles the case where the list
has not already been initialized.

Jira: AXIS2C-1697



Modified:
    axis/axis2/c/core/trunk/src/core/description/op.c

Modified: axis/axis2/c/core/trunk/src/core/description/op.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/description/op.c?rev=1830638&r1=1830637&r2=1830638&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/description/op.c (original)
+++ axis/axis2/c/core/trunk/src/core/description/op.c Mon Apr 30 23:56:03 2018
@@ -672,7 +672,8 @@ axis2_op_engage_module(
         }
         /* module = axis2_module_desc_get_module(moduleref, env); */
 
-        axutil_array_list_add(collection_module, env, moduleref);
+        /*axutil_array_list_add(collection_module, env, moduleref);*/
+        status = axis2_op_add_to_engaged_module_list(op, env, moduleref);
     }
     else
     {



Mime
View raw message