]> Sergey Matveev's repositories - public-inbox.git/commit
searchmsg: allow lines (and bytes) to be zero
authorEric Wong <e@yhbt.net>
Sat, 7 Mar 2020 10:57:02 +0000 (10:57 +0000)
committerEric Wong <e@yhbt.net>
Sat, 7 Mar 2020 19:10:31 +0000 (19:10 +0000)
commitd107a62797ea4126d0132db72dda21e7706e866d
treeecead657859ab4cd0b62f73b05eccd95796d8b4d
parent64a5e4f9b5cda6891d3dbd719d8a010da487bfc3
searchmsg: allow lines (and bytes) to be zero

We will occasionally see legit messages with zero lines,
be sure we index that count for NNTP clients.

I'm not sure about bytes being zero (aside from purged
messages), but we should've dealt with that earlier up
the stack.
lib/PublicInbox/SearchMsg.pm
t/v2mirror.t