aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/BufferedSocket.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-07 16:03:44 +0200
committerMax Kellermann <max@duempel.org>2014-08-07 16:07:48 +0200
commit8921b4f9d15cb9baa0d449021992eab7853b9e02 (patch)
treebe6dc0c539da06e2cbc36af81e9e2e7df9de77c0 /src/event/BufferedSocket.cxx
parentcf16d81fa48dbe8f9030a3026bc6a1fabf4c6da6 (diff)
downloadmpd-8921b4f9d15cb9baa0d449021992eab7853b9e02.tar.gz
mpd-8921b4f9d15cb9baa0d449021992eab7853b9e02.tar.xz
mpd-8921b4f9d15cb9baa0d449021992eab7853b9e02.zip
event/BufferedSocket: fix inversed buffer check
This was broken by commit 84d20d9e, which deleted the "!" from the check.
Diffstat (limited to '')
-rw-r--r--src/event/BufferedSocket.cxx2
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();
}