about summary refs log tree commit homepage
path: root/lib/PublicInbox/NNTP.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-03 07:59:11 +0000
committerEric Wong <e@80x24.org>2022-08-03 19:57:37 +0000
commit7d3928a8c2b759149104d41ad09a6cff490fcef7 (patch)
tree39d8549b3b480c72ce925b3f1ab0e10927ea0563 /lib/PublicInbox/NNTP.pm
parent6d7f39f784f6e11a5dc69a5054b719614ed986a8 (diff)
downloadpublic-inbox-7d3928a8c2b759149104d41ad09a6cff490fcef7.tar.gz
ds: use ->dflush to distinguish from ->zflush
->zflush is already for GzipFilter in PublicInbox::WWW,
while we use DEFLATE for NNTP and IMAP.  This ought to
make the code easier-to-follow.
Diffstat (limited to 'lib/PublicInbox/NNTP.pm')
-rw-r--r--lib/PublicInbox/NNTP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm
index b223eb07..791fe2a9 100644
--- a/lib/PublicInbox/NNTP.pm
+++ b/lib/PublicInbox/NNTP.pm
@@ -556,7 +556,7 @@ sub blob_cb { # called by git->cat_async via ibx_async_cat
                 $self->close;
                 die "BUG: bad code: $r";
         }
-        $self->write(\".\r\n"); # flushes (includes ->zflush)
+        $self->write(\".\r\n"); # flushes (includes ->dflush)
         $self->requeue;
 }