]> Sergey Matveev's repositories - public-inbox.git/commitdiff
v2writable: set unindexed article number
authorEric Wong <e@80x24.org>
Sun, 20 Oct 2019 07:22:07 +0000 (07:22 +0000)
committerEric Wong <e@80x24.org>
Mon, 21 Oct 2019 10:50:31 +0000 (10:50 +0000)
We'll actually use the keys of this hash in future commits.

lib/PublicInbox/V2Writable.pm

index 6a88f62aea1ab3042aef1875a23bd45d3dd643a0..dcbbbc77761750c5b69246a2ba0837920fffc709 100644 (file)
@@ -1072,7 +1072,7 @@ sub unindex_oid ($$$) {
                                join(',',sort keys %gone), "\n";
                }
                foreach my $num (keys %gone) {
-                       $self->{unindexed}->{$_}++;
+                       $self->{unindexed}->{$num}++;
                        $self->{mm}->num_delete($num);
                }
                unindex_oid_remote($self, $oid, $mid);