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 se...@apache.org on 2008/03/25 12:41:20 UTC
svn commit: r640776 - in /webservices/axis2/trunk/c:
include/axis2_http_transport.h src/core/transport/http/sender/http_sender.c
Author: senaka
Date: Tue Mar 25 04:40:58 2008
New Revision: 640776
URL: http://svn.apache.org/viewvc?rev=640776&view=rev
Log:
Fixing invalid cast issue
Modified:
webservices/axis2/trunk/c/include/axis2_http_transport.h
webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
Modified: webservices/axis2/trunk/c/include/axis2_http_transport.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_transport.h?rev=640776&r1=640775&r2=640776&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_transport.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_transport.h Tue Mar 25 04:40:58 2008
@@ -973,6 +973,8 @@
#define AXIS2_ESC_DOUBLE_QUOTE '\"'
+#define AXIS2_ESC_DOUBLE_QUOTE_STR "\""
+
#define AXIS2_ESC_NULL '\0'
#define AXIS2_CONTENT_TYPE_ACTION ";action=\""
Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c?rev=640776&r1=640775&r2=640776&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c Tue Mar 25 04:40:58 2008
@@ -666,8 +666,7 @@
content_type = temp_content_type;
temp_content_type =
axutil_stracat (env, content_type,
- (const axis2_char_t *)
- AXIS2_ESC_DOUBLE_QUOTE);
+ AXIS2_ESC_DOUBLE_QUOTE_STR);
AXIS2_FREE (env->allocator, content_type);
content_type = temp_content_type;
}
@@ -715,8 +714,7 @@
content_type = temp_content_type;
temp_content_type =
axutil_stracat (env, content_type,
- (const axis2_char_t *)
- AXIS2_ESC_DOUBLE_QUOTE);
+ AXIS2_ESC_DOUBLE_QUOTE_STR);
AXIS2_FREE (env->allocator, content_type);
content_type = temp_content_type;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org