about summary refs log tree commit homepage
path: root/lib/PublicInbox/NNTP.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-09-08 10:41:11 +0000
committerEric Wong <e@80x24.org>2019-09-08 10:41:47 +0000
commit25cd95498bfd30f7436cdf782feec0d3ca76f837 (patch)
tree1b621e311f2a0c0449f13200b6402b56014f36de /lib/PublicInbox/NNTP.pm
parentd327141cee62b2efec2c859a237023d7ff9e71a5 (diff)
downloadpublic-inbox-25cd95498bfd30f7436cdf782feec0d3ca76f837.tar.gz
Since Net::NNTP::listgroup doesn't support the range parameter,
I had to test this manually and noticed extra CRLF were emitted.
Diffstat (limited to 'lib/PublicInbox/NNTP.pm')
-rw-r--r--lib/PublicInbox/NNTP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm
index 7c3f68a2..41f1e9c1 100644
--- a/lib/PublicInbox/NNTP.pm
+++ b/lib/PublicInbox/NNTP.pm
@@ -237,7 +237,7 @@ sub cmd_listgroup ($;$$) {
                 long_response($self, sub {
                         $r = $mm->msg_range(\$beg, $end, 'num');
                         scalar(@$r) or return;
-                        more($self, join("\r\n", map { "$_->[0]\r\n" } @$r));
+                        more($self, join("\r\n", map { $_->[0] } @$r));
                         1;
                 });
         } else { # grab every article number