about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorUwe Kleine-K├Ânig <u.kleine-koenig@pengutronix.de>2021-02-24 09:54:56 +0100
committerEric Wong <e@80x24.org>2021-02-24 10:52:48 +0000
commitbb928d88ed4c72241a8d76bc792cdbd798e44470 (patch)
treed7eb5190148f4dfe7d2f52238573defc002b8be7
parent3bacac503f6ff0bcf19aa581151c9c89fa35fe55 (diff)
downloadpublic-inbox-bb928d88ed4c72241a8d76bc792cdbd798e44470.tar.gz
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")
-rw-r--r--lib/PublicInbox/WwwListing.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm
index bda2761c..383c0250 100644
--- a/lib/PublicInbox/WwwListing.pm
+++ b/lib/PublicInbox/WwwListing.pm
@@ -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 {