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 na...@apache.org on 2006/05/02 10:54:42 UTC

svn commit: r398871 - in /webservices/axis2/trunk/c/modules/core: clientapi/op_client.c clientapi/svc_client.c transport/http/http_transport_utils.c

Author: nandika
Date: Tue May  2 01:54:39 2006
New Revision: 398871

URL: http://svn.apache.org/viewcvs?rev=398871&view=rev
Log:
modified to compile on windows

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
    webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/op_client.c?rev=398871&r1=398870&r2=398871&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/op_client.c Tue May  2 01:54:39 2006
@@ -18,6 +18,7 @@
 #include <axis2.h>
 #include <axis2_hash.h>
 #include <axis2_mep_client.h>
+#include <axis2_uuid_gen.h>
 #include <listener_manager.h> /*TODO:change too axis2_listener_manager.h*/
 
 typedef struct axis2_op_client_impl
@@ -139,7 +140,7 @@
     if (!op_client_impl->op_client.ops)
     {
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
-        axis2_callback_free(&(op_client_impl->op_client), env);
+        AXIS2_CALLBACK_FREE(&(op_client_impl->op_client), env);
         return NULL;        
     }
 

Modified: webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c?rev=398871&r1=398870&r2=398871&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Tue May  2 01:54:39 2006
@@ -24,6 +24,7 @@
 #include <axis2_module_desc.h>
 #include <axis2_array_list.h>
 #include <axis2_options.h>
+#include <axis2_conf_init.h>
 
 typedef struct axis2_svc_client_impl
 {
@@ -320,7 +321,7 @@
 	
 	/*TODO:double check whether we need to free*/
 	if (svc_client_impl->options)
-		axis2_options_free(svc_client_impl->options, env);
+		AXIS2_OPTIONS_FREE(svc_client_impl->options, env);
    	svc_client_impl->options = options;
 	return AXIS2_SUCCESS;	
 }
@@ -347,7 +348,7 @@
 	svc_client_impl = AXIS2_INTF_TO_IMPL(svc_client);
 
 	if (svc_client_impl->override_options)
-		axis2_options_free(svc_client_impl->override_options, env);
+		AXIS2_OPTIONS_FREE(svc_client_impl->override_options, env);
 
 	svc_client_impl->override_options = override_options;
 

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=398871&r1=398870&r2=398871&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c Tue May  2 01:54:39 2006
@@ -355,8 +355,9 @@
                 axis2_char_t *old_pos = NULL;
                 if (mime_binary)
                 {
-                    old_pos = mime_binary;
                     axis2_char_t *temp_pos = NULL;
+                    old_pos = mime_binary;
+                    
                     do
                     {