]> Sergey Matveev's repositories - public-inbox.git/commit
www: avoid warnings on bad offsets for Xapian
authorEric Wong <e@80x24.org>
Sun, 22 May 2016 20:44:34 +0000 (20:44 +0000)
committerEric Wong <e@80x24.org>
Sun, 22 May 2016 20:44:34 +0000 (20:44 +0000)
commit2ab19b9e259dfef9eb78a8efc42ef2453126417b
treef93bf39535f1396aa9667c32615fea530bf6edae
parent80bcb77099c2d3d7179c4f2f3ffac2b8083c3bb5
www: avoid warnings on bad offsets for Xapian

The offset argument must be an integer for Xapian,
however users (or bots) type the darndest things.

AFAIK this has no security implications besides triggering
a warning (which could lead to out-of-space-errors)
lib/PublicInbox/SearchView.pm
lib/PublicInbox/View.pm