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 05:42:50 -0400
commita5af0bd94dc0504ec34d49199eb2b7d39ceb8557 (patch)
tree02fbae2a166a7b23bfd7f03e628182444e3612d1
parent69530d351829fa7cdd3e6cc3d0d8f91c83181fcf (diff)
downloadpublic-inbox-a5af0bd94dc0504ec34d49199eb2b7d39ceb8557.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 d58618cc..f28eddf1 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 {