From 0ad53a52ea62e30e2fa722b86b78dd5d57974c18 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 19 Sep 2021 12:50:27 +0000 Subject: 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. --- lib/PublicInbox/LeiLsMailSource.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/PublicInbox/LeiLsMailSource.pm') 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; -- cgit v1.2.3-24-ge0c7