From c3f111a56ceacd77574af021d23b481b74bc66d4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 7 Aug 2014 16:03:44 +0200 Subject: event/BufferedSocket: fix inversed buffer check This was broken by commit 84d20d9e, which deleted the "!" from the check. --- src/event/BufferedSocket.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event') 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(); } -- cgit v1.2.3