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:
parent
a40e8645e2
commit
85feb4de3f
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user