]> Sergey Matveev's repositories - public-inbox.git/commit
wwwtext: simplify gzf_maybe use
authorEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 23:27:55 +0000 (23:27 +0000)
committerEric Wong <e@yhbt.net>
Mon, 6 Jul 2020 20:01:15 +0000 (20:01 +0000)
commit6bcab55b2594368e5f8aad0badb8d51d5d8ba20f
treeb110631095f1e8229231c8527bd5308f731576f1
parentba212558b86874d197c86e2acd0776b5b095ee5b
wwwtext: simplify gzf_maybe use

gzf_maybe always returns a GzipFilter object, even if it uses
CompressNoop.  We can also use ->zflush instead of
->translate(undef) here for the final bit.
lib/PublicInbox/WwwText.pm