Sorry, fix #7557 for real.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43051 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2011-10-31 22:52:18 +00:00
parent 85feb4de3f
commit 74ddcac51f

View File

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