about summary refs log tree commit homepage
path: root/lib/PublicInbox/WwwListing.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/WwwListing.pm')
-rw-r--r--lib/PublicInbox/WwwListing.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm
index 780c97e9..d641e6d5 100644
--- a/lib/PublicInbox/WwwListing.pm
+++ b/lib/PublicInbox/WwwListing.pm
@@ -109,7 +109,7 @@ sub html ($$) {
         my $h = [ 'Content-Type', 'text/html; charset=UTF-8',
                         'Content-Length', undef ];
         my $gzf = gzf_maybe($h, $env) || PublicInbox::NoopFilter::new();
-        my $out = $gzf->zmore('<html><head><title>' .
+        $gzf->zmore('<html><head><title>' .
                                 'public-inbox listing</title>' .
                                 '</head><body><pre>');
         my $code = 404;
@@ -122,11 +122,11 @@ sub html ($$) {
 
                 my $tmp = join("\n", map { ibx_entry(@$_, $env) } @$list);
                 my $l = PublicInbox::Linkify->new;
-                $out .= $gzf->zmore($l->to_html($tmp));
+                $gzf->zmore($l->to_html($tmp));
         } else {
-                $out .= $gzf->zmore('no inboxes, yet');
+                $gzf->zmore('no inboxes, yet');
         }
-        $out .= $gzf->zflush('</pre><hr><pre>'.
+        my $out = $gzf->zflush('</pre><hr><pre>'.
                                 PublicInbox::WwwStream::code_footer($env) .
                                 '</pre></body></html>');
         $h->[3] = bytes::length($out);