about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/NNTP.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm
index dd033e89..7e2c2abd 100644
--- a/lib/PublicInbox/NNTP.pm
+++ b/lib/PublicInbox/NNTP.pm
@@ -508,8 +508,8 @@ sub long_response ($$$$) {
                 my $err;
                 do {
                         eval { $cb->(\$beg) };
-                } until (($err = $@) || $self->{closed} || $yield ||
-                         $self->{write_buf_size} || ++$beg > $end);
+                } until (($err = $@) || $self->{closed} ||
+                         ++$beg > $end || $yield || $self->{write_buf_size});
                 ualarm(0);
 
                 if ($err || $self->{closed}) {