]> Sergey Matveev's repositories - public-inbox.git/commitdiff
nntp: LIST ACTIVE.TIMES use angle brackets around address
authorEric Wong <e@80x24.org>
Fri, 27 Nov 2020 09:52:49 +0000 (09:52 +0000)
committerEric Wong <e@80x24.org>
Sat, 28 Nov 2020 04:53:18 +0000 (04:53 +0000)
This matches the example shown in RFC 3977, section 7.6.1.3

lib/PublicInbox/NNTP.pm

index 5cbf5a16e4e1b8b38c79312540c125828d5be4b7..eb2c0b38c445025dec375e4dd8f443a35ced59e5 100644 (file)
@@ -149,7 +149,7 @@ sub list_active_times ($;$) {
        for my $ngname (grep(/$wildmat/, @{$self->{nntpd}->{groupnames}})) {
                my $ibx = $groups->{$ngname};
                my $c = eval { $ibx->uidvalidity } // time;
-               more($self, "$ngname $c $ibx->{-primary_address}");
+               more($self, "$ngname $c <$ibx->{-primary_address}>");
        }
 }