]> Sergey Matveev's repositories - public-inbox.git/commitdiff
*deflate: drop invalid comment about rbuf
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:04:28 +0000 (07:04 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
It must be a scalar reference, unlike ->write

lib/PublicInbox/IMAPdeflate.pm
lib/PublicInbox/NNTPdeflate.pm

index 9366db7a7fc84d85e0f649a16eac4ba25275da71..67c9a9738d54836fe12edf7a5911983945c41ba4 100644 (file)
@@ -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) = @_;
 
index 8efb662f5ab5ec3d168e2742b8a0e72da4080ba3..eb400c9c22057da11b5bd3d3d396ab79213c7108 100644 (file)
@@ -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) = @_;