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 C24681F46C for ; Sat, 1 Feb 2020 09:12:15 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/4] wwwtext: show multiple infourl values properly Date: Sat, 1 Feb 2020 09:12:12 +0000 Message-Id: <20200201091215.30024-2-e@yhbt.net> In-Reply-To: <20200201091215.30024-1-e@yhbt.net> References: <20200201091215.30024-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This is now an array, so ensure it's shown properly in the sample config, instead of "ARRAY(0xI8BADBEEF)" or similar. Fixes: 1988d730c0088e8b "config: support multi-value inbox.*.*url" --- lib/PublicInbox/WwwText.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm index 2e4aeec0..ace7f9d7 100644 --- a/lib/PublicInbox/WwwText.pm +++ b/lib/PublicInbox/WwwText.pm @@ -148,12 +148,12 @@ sub inbox_config ($$$) { ; instead of "inboxdir", both remain supported after 1.2 mainrepo = /path/to/top-level-inbox EOS - for my $k (qw(address listid)) { + for my $k (qw(address listid infourl)) { defined(my $v = $ibx->{$k}) or next; $$txt .= "\t$k = $_\n" for @$v; } - for my $k (qw(filter infourl newsgroup obfuscate replyto watchheader)) { + for my $k (qw(filter newsgroup obfuscate replyto watchheader)) { defined(my $v = $ibx->{$k}) or next; $$txt .= "\t$k = $v\n"; }