From afa44e1ddf1b9402caba5c7dc3c8e0f86194df86 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 10 Jun 2020 07:04:28 +0000 Subject: [PATCH] *deflate: drop invalid comment about rbuf It must be a scalar reference, unlike ->write --- lib/PublicInbox/IMAPdeflate.pm | 1 - lib/PublicInbox/NNTPdeflate.pm | 1 - 2 files changed, 2 deletions(-) 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) = @_; -- 2.44.0