axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r475579 - /webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c
Date Thu, 16 Nov 2006 04:51:06 GMT
Author: nandika
Date: Wed Nov 15 20:51:06 2006
New Revision: 475579

URL: http://svn.apache.org/viewvc?view=rev&rev=475579
Log:
patch applied, thanks to dumindu

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c?view=diff&rev=475579&r1=475578&r2=475579
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c Wed Nov
15 20:51:06 2006
@@ -118,13 +118,14 @@
     void *dummy,
     const char *arg)
 {
+	axis2_config_rec_t *conf = NULL;		
     const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
     if (err != NULL)
     {
         return err;
     }
 
-    axis2_config_rec_t *conf = (axis2_config_rec_t*)ap_get_module_config(
+    conf = (axis2_config_rec_t*)ap_get_module_config(
                 cmd->server->module_config, &axis2_module);
     conf->axis2_repo_path = apr_pstrdup(cmd->pool, arg);
     return NULL;
@@ -136,13 +137,14 @@
     void *dummy,
     const char *arg)
 {
+	axis2_config_rec_t *conf = NULL;		
     const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
     if (err != NULL)
     {
         return err;
     }
 
-    axis2_config_rec_t *conf = (axis2_config_rec_t*)ap_get_module_config(
+    conf = (axis2_config_rec_t*)ap_get_module_config(
                 cmd->server->module_config, &axis2_module);
     conf->axis2_log_file = apr_pstrdup(cmd->pool, arg);
     return NULL;
@@ -155,14 +157,15 @@
     const char *arg)
 {
     char *str;
-    const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
+    axis2_log_levels_t level = AXIS2_LOG_LEVEL_DEBUG;
+	axis2_config_rec_t *conf = NULL;
+	const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
     if (err != NULL)
     {
         return err;
     }
 
-    axis2_log_levels_t level = AXIS2_LOG_LEVEL_DEBUG;
-    axis2_config_rec_t *conf = (axis2_config_rec_t*)ap_get_module_config(
+    conf = (axis2_config_rec_t*)ap_get_module_config(
                 cmd->server->module_config, &axis2_module);
 
     if ((str = ap_getword_conf(cmd->pool, &arg)))



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message