about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-05 09:16:19 +0000
committerEric Wong <e@80x24.org>2015-09-05 09:16:19 +0000
commitc9555b3a643940095ab7da8c2b9115dfe7a2fbac (patch)
tree82836a4fa63a68e2fafcbfcd139f4e4c790902b4
parentd9a0d757ee0310ebe692cc00ac3404b058ee9746 (diff)
downloadpublic-inbox-c9555b3a643940095ab7da8c2b9115dfe7a2fbac.tar.gz
ref: http://public-inbox.org/meta/20150905091457.GA27857@dcvr.yhbt.net/
-rw-r--r--lib/PublicInbox/ExtMsg.pm2
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;