]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
ds: long_response: fix bad comment
authorEric Wong <e@80x24.org>
Sat, 28 Jun 2025 11:20:11 +0000 (11:20 +0000)
committerEric Wong <e@80x24.org>
Mon, 30 Jun 2025 08:20:38 +0000 (08:20 +0000)
As far as I can tell, {long} never existed as a field and
it's always meant the callback passed for ->long_response.

lib/PublicInbox/DS.pm

index 162ebad1743a6132d14f9cc2ce7b5c1a97ef0179..2b4528aea4c34aeee4aec25d59d7c035e16b0c7f 100644 (file)
@@ -637,7 +637,7 @@ sub long_response_done {} # overridden by Net::NNTP
 
 sub long_step {
        my ($self) = @_;
-       # wbuf is unset or empty, here; {long} may add to it
+       # wbuf is unset or empty, here; $cb may add to it
        my ($fd, $cb, $t0, @args) = @{$self->{long_cb}};
        my $more = eval { $cb->($self, @args) };
        if ($@ || !$self->{sock}) { # something bad happened...