diff options
author | Max Kellermann <max@duempel.org> | 2014-08-07 16:03:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-07 16:07:48 +0200 |
commit | 8921b4f9d15cb9baa0d449021992eab7853b9e02 (patch) | |
tree | be6dc0c539da06e2cbc36af81e9e2e7df9de77c0 /src/event | |
parent | cf16d81fa48dbe8f9030a3026bc6a1fabf4c6da6 (diff) |
event/BufferedSocket: fix inversed buffer check
This was broken by commit 84d20d9e, which deleted the "!" from the
check.
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/BufferedSocket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/BufferedSocket.cxx b/src/event/BufferedSocket.cxx index c590c215d..939824baa 100644 --- a/src/event/BufferedSocket.cxx +++ b/src/event/BufferedSocket.cxx @@ -121,7 +121,7 @@ BufferedSocket::OnSocketReady(unsigned flags) if (!ReadToBuffer() || !ResumeInput()) return false; - if (input.IsFull()) + if (!input.IsFull()) ScheduleRead(); } |