mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
Fixed bug #28716: select() returns 0 after waiting for less than 1 ms
This commit is contained in:
parent
82318c0ef1
commit
426dd9bfad
@ -50,6 +50,10 @@ HISTORY
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2010-01-23: Simon Goldschmidt
|
||||
* sockets.c: Fixed bug #28716: select() returns 0 after waiting for less
|
||||
than 1 ms
|
||||
|
||||
2010-01-21: Simon Goldschmidt
|
||||
* tcp.c, api_msg.c: Fixed bug #28651 (tcp_connect: no callbacks called
|
||||
if tcp_enqueue fails) both in raw- and netconn-API
|
||||
|
@ -991,7 +991,7 @@ lwip_select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
|
||||
sys_sem_signal(selectsem);
|
||||
|
||||
sys_sem_free(select_cb.sem);
|
||||
if (i == 0) {
|
||||
if (i == SYS_ARCH_TIMEOUT) {
|
||||
/* Timeout */
|
||||
if (readset)
|
||||
FD_ZERO(readset);
|
||||
|
Loading…
Reference in New Issue
Block a user