You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/04/01 05:08:48 UTC

svn commit: r524519 - in /webservices/axis2/trunk/c: include/axis2_op.h modules/core/transport/http/util/http_transport_utils.c

Author: samisa
Date: Sat Mar 31 20:08:47 2007
New Revision: 524519

URL: http://svn.apache.org/viewvc?view=rev&rev=524519
Log:
Fixed Windows build break

Modified:
    webservices/axis2/trunk/c/include/axis2_op.h
    webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c

Modified: webservices/axis2/trunk/c/include/axis2_op.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_op.h?view=diff&rev=524519&r1=524518&r2=524519
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_op.h (original)
+++ webservices/axis2/trunk/c/include/axis2_op.h Sat Mar 31 20:08:47 2007
@@ -562,6 +562,11 @@
     axis2_op_get_param_container(const axis2_op_t *op,
         const axutil_env_t *env);
 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_op_remove_from_engaged_module_list(axis2_op_t *op,
+        const axutil_env_t *env,
+        struct axis2_module_desc *module_desc);
+
     /**
      * Creates operation struct for an operation defined in a module.
      * @param env pointer to environment struct

Modified: webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c?view=diff&rev=524519&r1=524518&r2=524519
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c Sat Mar 31 20:08:47 2007
@@ -898,9 +898,6 @@
     axis2_conf_ctx_t *conf_ctx,
     axis2_char_t *request_url)
 {
-    AXIS2_PARAM_CHECK(env->error, conf_ctx, NULL);
-    AXIS2_PARAM_CHECK(env->error, request_url, NULL);
-
     axis2_char_t *wsdl_string = NULL;
     axis2_char_t *wsdl_path = NULL;
     axis2_char_t **url_tok = NULL;
@@ -910,6 +907,9 @@
     axutil_hash_t *services_map = NULL;
     axutil_hash_index_t *hi = NULL;
 
+    AXIS2_PARAM_CHECK(env->error, conf_ctx, NULL);
+    AXIS2_PARAM_CHECK(env->error, request_url, NULL);
+
     url_tok = axis2_parse_request_url_for_svc_and_op (env, request_url);
     len = strlen (url_tok[0]);
     url_tok[0][len - 5]  = 0;
@@ -944,9 +944,10 @@
         axis2_char_t *content = NULL;
         int c;
         int size = FILE_READ_SIZE;
-        content = (axis2_char_t *)AXIS2_MALLOC (env->allocator, size);
         axis2_char_t *tmp;
         int i = 0;
+        
+        content = (axis2_char_t *)AXIS2_MALLOC (env->allocator, size);
         wsdl_file = fopen (wsdl_path, "r");
         if (wsdl_file)
         {



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