]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/SearchIdx.pm
msg_iter: pass $idx as a scalar, not array
[public-inbox.git] / lib / PublicInbox / SearchIdx.pm
index 998341a7d4d5bfa069f02e6beca5e75ad04def74..f357a8fa5f2ea4c95fed69a73b22b993eba8387f 100644 (file)
@@ -277,7 +277,7 @@ sub index_diff ($$$) {
 }
 
 sub index_xapian { # msg_iter callback
-       my $part = $_[0]->[0]; # ignore $depth and @idx
+       my $part = $_[0]->[0]; # ignore $depth and $idx
        my ($self, $doc) = @{$_[1]};
        my $ct = $part->content_type || 'text/plain';
        my $fn = $part->filename;