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 da...@apache.org on 2006/01/16 10:00:17 UTC

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

Author: damitha
Date: Mon Jan 16 01:00:10 2006
New Revision: 369405

URL: http://svn.apache.org/viewcvs?rev=369405&view=rev
Log:
axis2_dep_engine_build_module conf is null. fixed

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=369405&r1=369404&r2=369405&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 01:00:10 2006
@@ -1528,9 +1528,11 @@
     axis2_flow_t *out_fault_flow = NULL;
     
     AXIS2_FUNC_PARAM_CHECK(dep_engine, env, NULL);
+    AXIS2_PARAM_CHECK((*env)->error, module_archive, NULL);
+    AXIS2_PARAM_CHECK((*env)->error, conf, NULL);
     engine_impl = AXIS2_INTF_TO_IMPL(dep_engine);
     
-    phases_info = AXIS2_CONF_GET_PHASESINFO(engine_impl->conf, env);
+    phases_info = AXIS2_CONF_GET_PHASESINFO(conf, env);
     axis2_dep_engine_set_phases_info(dep_engine, env, phases_info);
     engine_impl->curr_file = axis2_arch_file_data_create_with_type_and_file(
         env, AXIS2_MODULE, module_archive);

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=369405&r1=369404&r2=369405&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Mon Jan 16 01:00:10 2006
@@ -1336,7 +1336,7 @@
 {
     AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
     
-    return AXIS2_INTF_TO_IMPL(conf)->phases_info;
+    return (AXIS2_INTF_TO_IMPL(conf))->phases_info;
 }
 
 axis2_status_t AXIS2_CALL