Commit 8cd2392c authored by Peio Rigaux's avatar Peio Rigaux

fixed build error related to net_socket types

parent 13fcb4c1
......@@ -329,7 +329,7 @@ int mbedtls_net_accept( mbedtls_net_context *bind_ctx,
/* Is this a TCP or UDP socket? */
if( getsockopt( bind_ctx->fd, SOL_SOCKET, SO_TYPE,
(void *) &type, &type_len ) != 0 ||
(void *) &type, &type_len) != 0 ||
( type != SOCK_STREAM && type != SOCK_DGRAM ) )
{
return( MBEDTLS_ERR_NET_ACCEPT_FAILED );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment