sockets.c: Add missing lwip_select_dec_sockets_used within lwip_select.

Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
Tim Cussins 2017-04-18 15:32:14 +01:00 committed by goldsimon
parent 0952e618bd
commit 7ac3056da9

View File

@ -1808,6 +1808,7 @@ lwip_select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
if (nready < 0) {
set_errno(EBADF);
lwip_select_dec_sockets_used(maxfdp1, &used_sockets);
return -1;
}