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:03:44 +0200 |
commit | c3f111a56ceacd77574af021d23b481b74bc66d4 (patch) | |
tree | c8571f2c2b43bace04ac0970a8a9864e5e9e3e96 | |
parent | 250318329f9e662bd7ee5f07af14f175a0b12eeb (diff) | |
download | mpd-c3f111a56ceacd77574af021d23b481b74bc66d4.tar.gz mpd-c3f111a56ceacd77574af021d23b481b74bc66d4.tar.xz mpd-c3f111a56ceacd77574af021d23b481b74bc66d4.zip |
event/BufferedSocket: fix inversed buffer check
This was broken by commit 84d20d9e, which deleted the "!" from the
check.
-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 92e350e85..c93ea34c5 100644 --- a/src/event/BufferedSocket.cxx +++ b/src/event/BufferedSocket.cxx @@ -118,7 +118,7 @@ BufferedSocket::OnSocketReady(unsigned flags) if (!ReadToBuffer() || !ResumeInput()) return false; - if (input.IsFull()) + if (!input.IsFull()) ScheduleRead(); } |