Wrong fd count given to select. Fixes #7557.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43050 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2011-10-31 22:39:58 +00:00
parent a40e8645e2
commit 85feb4de3f

View File

@ -964,7 +964,7 @@ SMTPProtocol::ReceiveResponse(BString &out)
result = 1;
else
#endif
result = select(32, &fds, NULL, NULL, &tv);
result = select(1, &fds, NULL, NULL, &tv);
if (result < 0)
return errno;