From 33cea91c679d66fda8fa28624607c5dc3b3db0ea Mon Sep 17 00:00:00 2001 From: robertc <> Date: Tue, 4 Mar 2003 14:55:04 +0000 Subject: [PATCH] Summary: Bugfix deferred read flushing. Keywords: A typo lead to infinite deferral when flushing left reads on the stack. --- src/comm.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/comm.cc b/src/comm.cc index 7553fb0bb7..8f9ef061c9 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.368 2003/03/04 01:40:27 robertc Exp $ + * $Id: comm.cc,v 1.369 2003/03/04 07:55:04 robertc Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -2451,8 +2451,10 @@ DeferredReadManager::kickReads(int const count) { /* if we had List::size() we could consolidate this and flushReads */ - if (count < 1) + if (count < 1) { flushReads(); + return; + } size_t remaining = count; -- 2.47.2