From db1293d5fb9a8c4c80dfee2bf50928e614fb07a7 Mon Sep 17 00:00:00 2001 From: nandika Date: Tue, 7 Sep 2010 07:44:55 +0000 Subject: warning fixed git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@993261 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/sender/http_client.c | 2 +- src/core/transport/http/sender/ssl/ssl_stream.c | 4 ++-- src/core/transport/http/sender/ssl/ssl_stream.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/transport/http') diff --git a/src/core/transport/http/sender/http_client.c b/src/core/transport/http/sender/http_client.c index 7ffc8ec..5d16e5c 100644 --- a/src/core/transport/http/sender/http_client.c +++ b/src/core/transport/http/sender/http_client.c @@ -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); diff --git a/src/core/transport/http/sender/ssl/ssl_stream.c b/src/core/transport/http/sender/ssl/ssl_stream.c index f5aec10..0900487 100644 --- a/src/core/transport/http/sender/ssl/ssl_stream.c +++ b/src/core/transport/http/sender/ssl/ssl_stream.c @@ -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); diff --git a/src/core/transport/http/sender/ssl/ssl_stream.h b/src/core/transport/http/sender/ssl/ssl_stream.h index 696fc47..7fe9a46 100644 --- a/src/core/transport/http/sender/ssl/ssl_stream.h +++ b/src/core/transport/http/sender/ssl/ssl_stream.h @@ -43,7 +43,7 @@ extern "C" void AXIS2_CALL axis2_ssl_stream_free( - axutil_stream_t *stream, + void *stream, const axutil_env_t *env); /** @} */ -- cgit v1.1-32-gdbae