]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/DSdeflate.pm
ds: use ->dflush to distinguish from ->zflush
[public-inbox.git] / lib / PublicInbox / DSdeflate.pm
index bf0ecd3877c79295ed99c90c0e2f750f730b6bfe..639690e27f61873cf29234487bac58315b2a51d1 100644 (file)
@@ -30,7 +30,7 @@ my %IN_OPT = (
 my ($zout, $zbuf);
 {
        my $err;
-       $zbuf = \(my $initial = ''); # replaced by $next in zflush/write
+       $zbuf = \(my $initial = ''); # replaced by $next in dflush/write
        ($zout, $err) = Compress::Raw::Zlib::Deflate->new(
                # nnrpd (INN) and Compress::Raw::Zlib favor MemLevel=9,
                # the zlib C library and git use MemLevel=8 as the default
@@ -100,7 +100,7 @@ sub msg_more ($$) {
        1;
 }
 
-sub zflush ($) {
+sub dflush ($) {
        my ($self) = @_;
 
        my $deflated = $zbuf;