Skip to content

Commit

Permalink
net_sockets: Fix typo in net_would_block()
Browse files Browse the repository at this point in the history
  • Loading branch information
Patater committed May 29, 2019
1 parent e6d5a50 commit 02a2e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/net_sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static int net_would_block( const mbedtls_net_context *ctx )
int err = errno;

/*
* Never return 'WOULD BLOCK' on a non-blocking socket
* Never return 'WOULD BLOCK' on a blocking socket
*/
if( ( fcntl( ctx->fd, F_GETFL ) & O_NONBLOCK ) != O_NONBLOCK )
{
Expand Down

0 comments on commit 02a2e10

Please sign in to comment.