commit c5dff8715269af6ff58bd1dd1a0c02d1555d7baf from: Omar Polo date: Mon Aug 29 14:31:53 2022 UTC s/entries/threads/g commit - 1efe003ff7532ed90387596edbcfa6cf29ef3f0e commit + c5dff8715269af6ff58bd1dd1a0c02d1555d7baf blob - 10b081d3d53fa83aceb0f4774ce2ee8060eb9324 blob + c457a43c8af1c173b1b3f4e58d11e6e0b03b3bd8 --- mkindex +++ mkindex @@ -23,8 +23,8 @@ my $from_day; my $to_day; my $threads_seen = 0; my $last_level = 0; -my $entries = 0; -my $entries_per_page = 100; +my $threads = 0; +my $threads_per_page = 100; sub maxs { my ($a, $b) = @_; @@ -168,10 +168,10 @@ while (<>) { if ($level == 0) { nextthread $mid, $subj; - $entries++; - if ($entries > $entries_per_page) { + $threads++; + if ($threads > $threads_per_page) { nextfile; - $entries = 0; + $threads = 0; $to_day = undef; $from_day = undef; }