about summary refs log tree commit homepage
path: root/lib/PublicInbox/WwwText.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/WwwText.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/WwwText.pm')
-rw-r--r--lib/PublicInbox/WwwText.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm
index c6957e81..3f840c44 100644
--- a/lib/PublicInbox/WwwText.pm
+++ b/lib/PublicInbox/WwwText.pm
@@ -70,7 +70,7 @@ sub get_text {
         $txt =~ s!\bPOP3\b!<a\nid=pop3>POP3</a>!;
         $txt =~ s!\b(Newsgroups?)\b!<a\nid=nntp>$1</a>!;
         $txt =~ s!\bIMAP\b!<a\nid=imap>IMAP</a>!;
-        PublicInbox::WwwStream::html_oneshot($ctx, $code, \$txt);
+        PublicInbox::WwwStream::html_oneshot($ctx, $code, $txt);
 }
 
 sub _srch_prefix ($$) {