]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/GzipFilter.pm
{gzip,noop}filter: ->zmore returns undef, always
[public-inbox.git] / lib / PublicInbox / GzipFilter.pm
index d2eb4e6643e500f7a77cdf27aecb75380be8377c..0fbb4476aabf637d82af5f5f3abf2ff47de1976c 100644 (file)
@@ -73,7 +73,7 @@ sub zmore {
        my $self = $_[0]; # $_[1] => input
        my $err = $self->{gz}->deflate($_[1], $self->{zbuf});
        die "gzip->deflate: $err" if $err != Z_OK;
-       '';
+       undef;
 }
 
 # flushes and returns the final bit of gzipped data