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