]> Sergey Matveev's repositories - public-inbox.git/commit
mm: min/max: return 0 instead of undef
authorEric Wong <e@80x24.org>
Fri, 27 Nov 2020 09:52:45 +0000 (09:52 +0000)
committerEric Wong <e@80x24.org>
Sat, 28 Nov 2020 04:53:14 +0000 (04:53 +0000)
commitac43c3b17f452b02edf1cce3632a433e998de5ca
treeddb44342dd894fdfe757c816cb24615247af34bb
parentfb7d0067dc55fa8336dab96c07807fc7b28a1b20
mm: min/max: return 0 instead of undef

This simplifies callers and allows empty newsgroups to be
represented (the WWW UI may be insufficient there, too).
lib/PublicInbox/IMAPD.pm
lib/PublicInbox/Msgmap.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/V2Writable.pm
t/msgmap.t