You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/01/16 09:05:19 UTC

svn commit: r369392 - in /webservices/axis2/trunk/c/modules/core: deployment/dep_engine.c engine/conf.c

Author: samisa
Date: Mon Jan 16 00:05:11 2006
New Revision: 369392

URL: http://svn.apache.org/viewcvs?rev=369392&view=rev
Log:
Fixed more problems

Modified:
    webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
    webservices/axis2/trunk/c/modules/core/engine/conf.c

Modified: webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c?rev=369392&r1=369391&r2=369392&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Mon Jan 16 00:05:11 2006
@@ -889,7 +889,8 @@
     {
         axis2_qname_t *qname = (axis2_qname_t *) AXIS2_ARRAY_LIST_GET(
             engine_impl->module_list, env, i);
-        AXIS2_CONF_ENGAGE_MODULE(engine_impl->conf, env, qname);
+        if (qname && engine_impl->conf)
+            AXIS2_CONF_ENGAGE_MODULE(engine_impl->conf, env, qname);
     }
     return AXIS2_SUCCESS;
 }

Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/conf.c?rev=369392&r1=369391&r2=369392&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Mon Jan 16 00:05:11 2006
@@ -561,6 +561,7 @@
         axis2_conf_set_default_dispatchers;
     config_impl->conf.ops->set_dispatch_phase = axis2_conf_set_dispatch_phase;
     config_impl->conf.ops->set_repos = axis2_conf_set_repos;
+    config_impl->conf.ops->engage_module = axis2_conf_engage_module;
     
 	return &(config_impl->conf);	
 }	
@@ -1347,6 +1348,7 @@
     
     AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, phases_info, AXIS2_FAILURE);
+    config_impl = AXIS2_INTF_TO_IMPL(conf);
     
     if(config_impl->phases_info)
     {