CID 704 : Off-by-one error.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38043 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-08-12 11:59:51 +00:00
parent 889a547780
commit b9eef2a018
@@ -640,7 +640,7 @@ POP3Protocol::ReceiveLine(BString &line)
status_t
POP3Protocol::SendCommand(const char *cmd)
{
if (fSocket < 0 || fSocket > FD_SETSIZE)
if (fSocket < 0 || fSocket >= FD_SETSIZE)
return B_FILE_ERROR;
//printf(cmd);