about summary refs log tree commit
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-02-01 09:12:12 +0000
committerEric Wong <e@yhbt.net>2020-02-01 21:09:52 +0000
commit75a15dbb79d4e508fc868e82cb074776830b80d6 (patch)
tree9a5b0040e50a2c64b9bd0760e7716fc52e20cc3c
parenteea47b676127bcdba34fe0c1269b7324dd58d479 (diff)
downloadpublic-inbox-75a15dbb79d4e508fc868e82cb074776830b80d6.tar.gz
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"
-rw-r--r--lib/PublicInbox/WwwText.pm4
1 files 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";
         }