You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2010/09/07 09:44:55 UTC
svn commit: r993261 - in
/axis/axis2/c/core/trunk/src/core/transport/http/sender: http_client.c
ssl/ssl_stream.c ssl/ssl_stream.h
Author: nandika
Date: Tue Sep 7 07:44:55 2010
New Revision: 993261
URL: http://svn.apache.org/viewvc?rev=993261&view=rev
Log:
warning fixed
Modified:
axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c
axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c
axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.h
Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c?rev=993261&r1=993260&r2=993261&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/http_client.c Tue Sep 7 07:44:55 2010
@@ -124,7 +124,7 @@ axis2_http_client_free(
if(http_client->data_stream->stream_type == AXIS2_STREAM_SOCKET)
{
axutil_network_handler_close_socket(env, http_client->sockfd);
- // ssl streams of type AXIS2_STREAM_BASIC will be handled by SSL_shutdown();
+ /** ssl streams of type AXIS2_STREAM_BASIC will be handled by SSL_shutdown(); */
}
#else
axutil_network_handler_close_socket(env, http_client->sockfd);
Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c?rev=993261&r1=993260&r2=993261&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.c Tue Sep 7 07:44:55 2010
@@ -114,11 +114,11 @@ axutil_stream_create_ssl(
void AXIS2_CALL
axis2_ssl_stream_free(
- axutil_stream_t * stream,
+ void * streamv,
const axutil_env_t * env)
{
ssl_stream_impl_t *stream_impl = NULL;
-
+ axutil_stream_t* stream = (axutil_stream_t*)streamv;
stream_impl = AXIS2_INTF_TO_IMPL(stream);
axis2_ssl_utils_cleanup_ssl(env, stream_impl->ctx, stream_impl->ssl);
AXIS2_FREE(env->allocator, stream_impl);
Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.h
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.h?rev=993261&r1=993260&r2=993261&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.h (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_stream.h Tue Sep 7 07:44:55 2010
@@ -43,7 +43,7 @@ extern "C"
void AXIS2_CALL
axis2_ssl_stream_free(
- axutil_stream_t *stream,
+ void *stream,
const axutil_env_t *env);
/** @} */