From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7B94C1FC0C for ; Sun, 19 Sep 2021 12:50:36 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 08/16] lei ls-mail-source: use "high"/"low" for NNTP Date: Sun, 19 Sep 2021 12:50:27 +0000 Message-Id: <20210919125035.6331-9-e@80x24.org> In-Reply-To: <20210919125035.6331-1-e@80x24.org> References: <20210919125035.6331-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(-) 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;