diff options
author | Eric Wong <e@yhbt.net> | 2020-07-05 23:27:39 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-07-06 20:01:15 +0000 |
commit | 55263c56cf41c87f8977cd6a6be65ac07b5cea87 (patch) | |
tree | f3e711c2d82fd8bf1e179d7133bd89f7cc924067 /Documentation/mknews.perl | |
parent | 52a02a813a46940530183ede4d4cc7028290cd8f (diff) | |
download | public-inbox-55263c56cf41c87f8977cd6a6be65ac07b5cea87.tar.gz |
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.
Diffstat (limited to 'Documentation/mknews.perl')
-rwxr-xr-x | Documentation/mknews.perl | 4 |
1 files changed, 2 insertions, 2 deletions
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, '<pre>' or die; + print $out $www_stream->html_top, '<pre>' or die; } sub html_end { |