You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by bi...@apache.org on 2018/04/30 23:56:03 UTC

svn commit: r1830638 - /axis/axis2/c/core/trunk/src/core/description/op.c

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
     {