]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/SearchView.pm
view: improve readability around walk_thread
[public-inbox.git] / lib / PublicInbox / SearchView.pm
index 584b88ed5d4e03b06e5f64a326a83d20ca86e5e9..94a55b8d8a3b1a3cbac5b2b569c2f90160c7de88 100644 (file)
@@ -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;