diff options
author | Eric Wong <e@80x24.org> | 2015-09-05 09:16:19 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-05 09:16:19 +0000 |
commit | c9555b3a643940095ab7da8c2b9115dfe7a2fbac (patch) | |
tree | 82836a4fa63a68e2fafcbfcd139f4e4c790902b4 /lib | |
parent | d9a0d757ee0310ebe692cc00ac3404b058ee9746 (diff) | |
download | public-inbox-c9555b3a643940095ab7da8c2b9115dfe7a2fbac.tar.gz |
ref: http://public-inbox.org/meta/20150905091457.GA27857@dcvr.yhbt.net/
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/ExtMsg.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm index 243b6bad..77537c2c 100644 --- a/lib/PublicInbox/ExtMsg.pm +++ b/lib/PublicInbox/ExtMsg.pm @@ -95,6 +95,8 @@ sub ext_msg { unshift @pfx, { srch => $ctx->{srch}, url => $url }; foreach my $pfx (@pfx) { my $srch = delete $pfx->{srch} or next; + + # FIXME we may need a proper prefix trie here... if (my $res = $srch->mid_prefix($mid)) { $n_partial += scalar(@$res); $pfx->{res} = $res; |