commit | a152e42e9b9c633dbbbb207e1e6916e660e67d22 | [log] [tgz] |
---|---|---|
author | Jaeden Amero <jaeden@patater.com> | Wed May 29 09:38:29 2019 +0100 |
committer | Jaeden Amero <jaeden.amero@arm.com> | Thu Jun 20 10:48:11 2019 +0100 |
tree | 0cd0f59b3be155296be80e53190deff1429fc8a5 | |
parent | c54ee936d7e2787143be6b3eb761f1a822ccad63 [diff] [blame] |
net_sockets: Fix typo in net_would_block() Fixes #528
diff --git a/library/net_sockets.c b/library/net_sockets.c index 816b130..5d538bf 100644 --- a/library/net_sockets.c +++ b/library/net_sockets.c
@@ -284,7 +284,7 @@ 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 ) {