about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-05 23:27:50 +0000
committerEric Wong <e@yhbt.net>2020-07-06 20:01:15 +0000
commitbf8ea90e0db55666e558893bf00b703ddd211d45 (patch)
tree5c5290da9090a5a354aad1d9d513d5f384e2279d /lib/PublicInbox/SearchView.pm
parent7845a9dd163b67e8a03533aee17a74265dc9e14f (diff)
downloadpublic-inbox-bf8ea90e0db55666e558893bf00b703ddd211d45.tar.gz
We can save stack space and simplify subroutine calls, here.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r--lib/PublicInbox/SearchView.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 921992a5..623b16fb 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -294,7 +294,7 @@ sub mset_thread {
 sub mset_thread_i {
         my ($ctx, $eml) = @_;
         $ctx->zmore($ctx->html_top) if exists $ctx->{-html_tip};
-        $eml and return PublicInbox::View::eml_entry($ctx, $ctx->{smsg}, $eml,
+        $eml and return PublicInbox::View::eml_entry($ctx, $eml,
                                                 scalar @{$ctx->{msgs}});
         my $smsg = shift @{$ctx->{msgs}} or
                 $ctx->zmore(${delete($ctx->{skel})});