valenok/mongoose — pull request #164 by fredfung (2013-05-13 16:13:47+00:00)
Title: Fix parameter 1 for select in poll()

Hi, I'm embedding mongoose to my application on eCos OS.When client connecting to mongoose, I found none pollfd in poll could be set to POLLIN state in poll().But it works well on Linux.Try to change the first parameter of select() to max socket descriptor plus 1 then my eCos application is ok.
Thanks.