about summary refs log tree commit homepage
path: root/lib/PublicInbox/DS.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-07-23 04:41:49 +0000
committerEric Wong <e@80x24.org>2022-07-23 14:22:30 +0000
commit0f432191082f889c4296351e356c4abaf8cc7a28 (patch)
treee12e12de2cbc0e22e75d2f08a9a156414c814c5a /lib/PublicInbox/DS.pm
parentb5371f1053676a4a551140739582070df773dc9c (diff)
downloadpublic-inbox-0f432191082f889c4296351e356c4abaf8cc7a28.tar.gz
ds: move no-op ->zflush to common base class
More deduplication, and POP3 never needed it.
Diffstat (limited to 'lib/PublicInbox/DS.pm')
-rw-r--r--lib/PublicInbox/DS.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm
index 79f7046f..daef9d89 100644
--- a/lib/PublicInbox/DS.pm
+++ b/lib/PublicInbox/DS.pm
@@ -648,6 +648,8 @@ sub shutdn ($) {
     }
 }
 
+sub zflush {} # overridden by NNTPdeflate and IMAPdeflate
+
 sub dwaitpid ($;$$) {
         my ($pid, $cb, $arg) = @_;
         if ($in_loop) {