]> Sergey Matveev's repositories - public-inbox.git/commit
nntpd: fix LISTGROUP with range
authormephi42 <mephi42@gmail.com>
Mon, 28 Nov 2022 20:25:21 +0000 (21:25 +0100)
committerEric Wong <e@80x24.org>
Mon, 28 Nov 2022 20:34:27 +0000 (20:34 +0000)
commitb66f13a1764606b9c4d0a6a8e22ab1a8e30570ad
tree0417e4486e4e9b0aea72880be892e83b41fd8102
parent17b66e5704ce9287e04ae00012c280a3be914d7e
nntpd: fix LISTGROUP with range

This reverts 0c62cffc2389 ("nntp: listgroup_range_i: remove useless
`map' op") and adds a test that demonstrates the breakage: the server
returns lines like

    ARRAY(0x556dace73f08)

instead of message numbers.

Fixes: 0c62cffc2389 ("nntp: listgroup_range_i: remove useless `map' op")
lib/PublicInbox/NNTP.pm
t/nntpd.t