From: Eric Wong Date: Sun, 19 Sep 2021 12:50:27 +0000 (+0000) Subject: lei ls-mail-source: use "high"/"low" for NNTP X-Git-Tag: v1.7.0~326 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0ad53a52ea62e30e2fa722b86b78dd5d57974c18;p=public-inbox.git lei ls-mail-source: use "high"/"low" for NNTP The meanings of "hwm" and "lwm" may not be obvious abbreviations for (high|low) water mark descriptions used by RFC 3977. "high" and "low" should be obvious to anyone. --- diff --git a/lib/PublicInbox/LeiLsMailSource.pm b/lib/PublicInbox/LeiLsMailSource.pm index bcb1838e..a2e75e94 100644 --- a/lib/PublicInbox/LeiLsMailSource.pm +++ b/lib/PublicInbox/LeiLsMailSource.pm @@ -59,10 +59,10 @@ sub input_path_url { # overrides LeiInput version # $desc =~ s/\r\z//; - my ($hwm, $lwm, $status) = @{$all->{$ng}}; + my ($high, $low, $status) = @{$all->{$ng}}; push @x, { name => $ng, url => "$sec/$ng", - lwm => $lwm + 0, - hwm => $hwm + 0, status => $status, + low => $low + 0, + high => $high + 0, status => $status, description => $desc }; } @f = map { "$sec/$_" } keys %$all;