Commit 8921b4f9 authored by Max Kellermann's avatar Max Kellermann

event/BufferedSocket: fix inversed buffer check

This was broken by commit 84d20d9e, which deleted the "!" from the check.
parent cf16d81f
......@@ -121,7 +121,7 @@ BufferedSocket::OnSocketReady(unsigned flags)
if (!ReadToBuffer() || !ResumeInput())
return false;
if (input.IsFull())
if (!input.IsFull())
ScheduleRead();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment