lwip_pselect checks the wrong fd_set's in the last else block.
FD_ISSET(readset/writeset/exceptset, ...) should be FD_ISSET(&lreadset/&lwriteset/&lexceptset)
The current form leads to always set fd's.
Alexander Block ( ablock84 ) - 2010-08-06 19:12:40 PDT