about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-01-25 04:44:51 +0000
committerEric Wong <e@yhbt.net>2020-01-27 02:59:09 +0000
commitc44a47c6d3463e35c68ab570cf286068f6b6657d (patch)
tree09582a507acb2c8dc1af366575b1f8b5f4251405 /lib/PublicInbox/SearchView.pm
parent53046dfabf5cea98662dc2e2297947be793262ce (diff)
downloadpublic-inbox-c44a47c6d3463e35c68ab570cf286068f6b6657d.tar.gz
Pass \&coderefs explicitly to walk_thread, and add some
prototypes + comments to describe what goes on.
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 584b88ed..94a55b8d 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -287,7 +287,7 @@ sub mset_thread {
         # reduce hash lookups in skel_dump
         $ctx->{-obfuscate} = $ctx->{-inbox}->{obfuscate};
         PublicInbox::View::walk_thread($rootset, $ctx,
-                *PublicInbox::View::pre_thread);
+                \&PublicInbox::View::pre_thread);
 
         @$msgs = reverse @$msgs if $r;
         $ctx->{msgs} = $msgs;