mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 23:25:58 +00:00
sockets.c: Add missing lwip_select_dec_sockets_used within lwip_select.
Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
parent
0952e618bd
commit
7ac3056da9
@ -1808,6 +1808,7 @@ lwip_select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
|
|||||||
|
|
||||||
if (nready < 0) {
|
if (nready < 0) {
|
||||||
set_errno(EBADF);
|
set_errno(EBADF);
|
||||||
|
lwip_select_dec_sockets_used(maxfdp1, &used_sockets);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user