summaryrefslogtreecommitdiffstats
path: root/src/core/transport
diff options
context:
space:
mode:
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);
/** @} */