event/BufferedSocket: fix inversed buffer check
This was broken by commit 84d20d9e
, which deleted the "!" from the
check.
This commit is contained in:
parent
cf16d81fa4
commit
8921b4f9d1
@ -121,7 +121,7 @@ BufferedSocket::OnSocketReady(unsigned flags)
|
|||||||
if (!ReadToBuffer() || !ResumeInput())
|
if (!ReadToBuffer() || !ResumeInput())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (input.IsFull())
|
if (!input.IsFull())
|
||||||
ScheduleRead();
|
ScheduleRead();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user