about summary refs log tree commit homepage
path: root/lib/PublicInbox/WWW.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-29 09:26:33 +0000
committerEric Wong <e@80x24.org>2022-08-29 19:05:44 +0000
commit95a3cace67ff5297e6fc35972e401b7cb17ee310 (patch)
tree59c76a0e3c8d54ae2536e530fd8da4ca3b497dc8 /lib/PublicInbox/WWW.pm
parent7dafd481c3e4252447b6b7cf4f4a8d4620d1cc10 (diff)
downloadpublic-inbox-95a3cace67ff5297e6fc35972e401b7cb17ee310.tar.gz
Another step towards making our internal APIs more writev-like
and reducing the copies needed for `join' or `.=' concatenation.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r--lib/PublicInbox/WWW.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 77f463d3..1df5572d 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -320,7 +320,7 @@ sub get_altid_dump {
 sub need {
         my ($ctx, $extra) = @_;
         require PublicInbox::WwwStream;
-        PublicInbox::WwwStream::html_oneshot($ctx, 501, \<<EOF);
+        PublicInbox::WwwStream::html_oneshot($ctx, 501, <<EOF);
 <pre>$extra is not available for this public-inbox
 <a\nhref="../">Return to index</a></pre>
 EOF