From: Eric Wong Date: Wed, 10 Jun 2020 07:04:28 +0000 (+0000) Subject: *deflate: drop invalid comment about rbuf X-Git-Tag: v1.6.0~436 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=afa44e1ddf1b9402caba5c7dc3c8e0f86194df86;p=public-inbox.git *deflate: drop invalid comment about rbuf It must be a scalar reference, unlike ->write --- diff --git a/lib/PublicInbox/IMAPdeflate.pm b/lib/PublicInbox/IMAPdeflate.pm index 9366db7a..67c9a973 100644 --- a/lib/PublicInbox/IMAPdeflate.pm +++ b/lib/PublicInbox/IMAPdeflate.pm @@ -50,7 +50,6 @@ sub enable { # overrides PublicInbox::NNTP::compressed sub compressed { 1 } -# $_[1] may be a reference or not sub do_read ($$$$) { my ($self, $rbuf, $len, $off) = @_; diff --git a/lib/PublicInbox/NNTPdeflate.pm b/lib/PublicInbox/NNTPdeflate.pm index 8efb662f..eb400c9c 100644 --- a/lib/PublicInbox/NNTPdeflate.pm +++ b/lib/PublicInbox/NNTPdeflate.pm @@ -62,7 +62,6 @@ sub enable { # overrides PublicInbox::NNTP::compressed sub compressed { 1 } -# $_[1] may be a reference or not sub do_read ($$$$) { my ($self, $rbuf, $len, $off) = @_;