summaryrefslogtreecommitdiffstats
path: root/src/core/transport
diff options
context:
space:
mode:
authorGravatar nandika2010-09-07 07:44:55 +0000
committerGravatar nandika2010-09-07 07:44:55 +0000
commitdb1293d5fb9a8c4c80dfee2bf50928e614fb07a7 (patch)
tree1efd059321ef96d7d01ef38c73d0c3244d52a5e6 /src/core/transport
parentf50ef01a9279bd00a5021e84ca44b59941ddf4ea (diff)
downloadaxis2c-db1293d5fb9a8c4c80dfee2bf50928e614fb07a7.tar.gz
axis2c-db1293d5fb9a8c4c80dfee2bf50928e614fb07a7.tar.bz2
warning fixed
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@993261 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport')
-rw-r--r--src/core/transport/http/sender/http_client.c2
-rw-r--r--src/core/transport/http/sender/ssl/ssl_stream.c4
-rw-r--r--src/core/transport/http/sender/ssl/ssl_stream.h2
3 files changed, 4 insertions, 4 deletions
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);
/** @} */