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 2006/01/12 03:30:02 UTC
svn commit: r368232 - in
/webservices/axis2/trunk/c/modules/core/transport/http:
axis2_http_transport_utils.c axis2_simple_http_svr_conn.c
Author: samisa
Date: Wed Jan 11 18:29:58 2006
New Revision: 368232
URL: http://svn.apache.org/viewcvs?rev=368232&view=rev
Log:
Fixed the compiler warnings which could have lead to errors
Modified:
webservices/axis2/trunk/c/modules/core/transport/http/axis2_http_transport_utils.c
webservices/axis2/trunk/c/modules/core/transport/http/axis2_simple_http_svr_conn.c
Modified: webservices/axis2/trunk/c/modules/core/transport/http/axis2_http_transport_utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/axis2_http_transport_utils.c?rev=368232&r1=368231&r2=368232&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/axis2_http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/axis2_http_transport_utils.c Wed Jan 11 18:29:58 2006
@@ -106,7 +106,7 @@
axis2_bool_t is_soap11 = AXIS2_FALSE;
axis2_xml_reader_t *xml_reader = NULL;
axis2_char_t *char_set = NULL;
- axis2_char_t *xml_char_set = NULL;
+ /*axis2_char_t *xml_char_set = NULL;*/
axis2_conf_ctx_t *conf_ctx = NULL;
axis2_callback_info_t callback_ctx;
@@ -334,14 +334,14 @@
for(hi = axis2_hash_first(request_params, env); NULL != hi;
axis2_hash_next(env, hi))
{
- axis2_char_t *name = NULL;
- axis2_char_t *value = NULL;
+ void *name = NULL;
+ void *value = NULL;
axis2_om_element_t *tmp_ele = NULL;
axis2_om_node_t *tmp_node = NULL;
axis2_hash_this(hi, (const void **)&name, NULL, (void**)&value);
- tmp_ele = axis2_om_element_create(env, op_node, name, def_om_ns,
+ tmp_ele = axis2_om_element_create(env, op_node, (axis2_char_t*)name, def_om_ns,
&tmp_node);
- AXIS2_OM_ELEMENT_SET_TEXT(tmp_ele, env, value, tmp_node);
+ AXIS2_OM_ELEMENT_SET_TEXT(tmp_ele, env, (axis2_char_t*)value, tmp_node);
}
return envelope;
}
Modified: webservices/axis2/trunk/c/modules/core/transport/http/axis2_simple_http_svr_conn.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/axis2_simple_http_svr_conn.c?rev=368232&r1=368231&r2=368232&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/axis2_simple_http_svr_conn.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/axis2_simple_http_svr_conn.c Wed Jan 11 18:29:58 2006
@@ -339,7 +339,7 @@
axis2_array_list_t *headers = NULL;
axis2_stream_t *response_stream = NULL;
axis2_char_t *response_body = NULL;
- int body_size = NULL;
+ int body_size = 0;
int i = 0;
AXIS2_FUNC_PARAM_CHECK(svr_conn, env, AXIS2_FAILURE);