]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
www: use PublicInbox::WwwStream stable-1.6
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 24 Feb 2021 08:54:56 +0000 (09:54 +0100)
committerEric Wong <e@80x24.org>
Wed, 24 Feb 2021 10:52:48 +0000 (10:52 +0000)
This prevents the following problem logged to the webserver's error log:

E: Undefined subroutine &PublicInbox::WwwStream::code_footer called at /usr/share/perl5/PublicInbox/WwwListing.pm line 102.
 in PublicInbox::ConfigIter=ARRAY(0x557aea68b1a8)::each_section at /usr/share/perl5/PublicInbox/ConfigIter.pm line 37.

Fixes: 7a3946ef122e ("www: support listing of inboxes")
lib/PublicInbox/WwwListing.pm

index bda2761c63d93091b4680065757a3b241a6eb895..383c0250d83ccd5782b88b2b13598daecc58833a 100644 (file)
@@ -9,6 +9,7 @@ use PublicInbox::Hval qw(prurl fmt_ts);
 use PublicInbox::Linkify;
 use PublicInbox::GzipFilter qw(gzf_maybe);
 use PublicInbox::ConfigIter;
+use PublicInbox::WwwStream;
 use bytes (); # bytes::length
 
 sub ibx_entry {