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 su...@apache.org on 2008/03/24 07:02:38 UTC

svn commit: r640321 - in /webservices/axis2/trunk/c: include/axis2_http_simple_response.h src/core/clientapi/svc_client.c src/core/transport/http/common/http_simple_response.c

Author: supun
Date: Sun Mar 23 23:02:37 2008
New Revision: 640321

URL: http://svn.apache.org/viewvc?rev=640321&view=rev
Log:
Fixed a missing initialization in svc_client for http_pheaders and fixed a missing AXIS2_EXTERN  

Modified:
    webservices/axis2/trunk/c/include/axis2_http_simple_response.h
    webservices/axis2/trunk/c/src/core/clientapi/svc_client.c
    webservices/axis2/trunk/c/src/core/transport/http/common/http_simple_response.c

Modified: webservices/axis2/trunk/c/include/axis2_http_simple_response.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_simple_response.h?rev=640321&r1=640320&r2=640321&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_simple_response.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_simple_response.h Sun Mar 23 23:02:37 2008
@@ -128,7 +128,7 @@
      * @param simple_response pointer to simple response struct
      * @param env pointer to environment struct
      */
-    axutil_array_list_t *AXIS2_CALL
+    AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
         axis2_http_simple_response_extract_headers(
         axis2_http_simple_response_t * simple_response,
         const axutil_env_t * env);

Modified: webservices/axis2/trunk/c/src/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/svc_client.c?rev=640321&r1=640320&r2=640321&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/svc_client.c Sun Mar 23 23:02:37 2008
@@ -284,6 +284,7 @@
     svc_client->auth_failed = AXIS2_FALSE;
     svc_client->required_auth_is_http = AXIS2_FALSE;
     svc_client->auth_type = NULL;
+	svc_client->http_headers = NULL;
 
     /** initialize private data to NULL, create options */
     if (!axis2_svc_client_init_data(env, svc_client))

Modified: webservices/axis2/trunk/c/src/core/transport/http/common/http_simple_response.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/common/http_simple_response.c?rev=640321&r1=640320&r2=640321&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/common/http_simple_response.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/common/http_simple_response.c Sun Mar 23 23:02:37 2008
@@ -218,7 +218,7 @@
     return axis2_http_status_line_to_string(simple_response->status_line, env);
 }
 
-axutil_array_list_t *AXIS2_CALL
+AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
 axis2_http_simple_response_get_headers(
     axis2_http_simple_response_t * simple_response,
     const axutil_env_t * env)



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