]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei ls-mail-source: use "high"/"low" for NNTP
authorEric Wong <e@80x24.org>
Sun, 19 Sep 2021 12:50:27 +0000 (12:50 +0000)
committerEric Wong <e@80x24.org>
Sun, 19 Sep 2021 19:52:49 +0000 (19:52 +0000)
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

index bcb1838e9e689401fefb8913cb2ccbd80d8dc06e..a2e75e94e66fd6841d3cd3378b47c751a68b4e1b 100644 (file)
@@ -59,10 +59,10 @@ sub input_path_url { # overrides LeiInput version
 # <https://rt.cpan.org/Ticket/Display.html?id=129966>
                                $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;