From 55263c56cf41c87f8977cd6a6be65ac07b5cea87 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Jul 2020 23:27:39 +0000 Subject: wwwstream: reduce blob fetch paths for ->getline This will make it easier to support asynchronous blob retrievals. The `$ctx->{nr}' counter is no longer implicitly supplied since many users didn't care for it, so stack overhead is slightly reduced. --- Documentation/mknews.perl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation/mknews.perl') diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index 1bd704e6..51d54b71 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -37,7 +37,7 @@ if ($dst eq 'NEWS') { my $ibx = My::MockObject->new( description => 'public-inbox releases', over => undef, - search => 1, # for WwwStream:_html_top + search => 1, # for WwwStream::html_top base_url => "$base_url/", ); $ibx->{-primary_address} = $addr; @@ -113,7 +113,7 @@ sub html_start { require PublicInbox::WwwStream; $ctx->{www} = My::MockObject->new(style => ''); my $www_stream = PublicInbox::WwwStream::init($ctx); - print $out $www_stream->_html_top, '
' or die;
+	print $out $www_stream->html_top, '
' or die;
 }
 
 sub html_end {
-- 
cgit v1.2.3-24-ge0c7