Factor out repeated code and make page() more useful
authorSteve McIntyre <steve@einval.com>
Thu, 1 Mar 2018 21:06:32 +0000 (21:06 +0000)
committerSteve McIntyre <steve@einval.com>
Thu, 1 Mar 2018 21:06:32 +0000 (21:06 +0000)
commitf2896b97fa01e05e1e8fa8617a271169fad9814d
tree74b431ce3c25954af11eda872d9b9e800126c6ba
parent0e18973ca3275d2442de5b7261d915a8debfda68
Factor out repeated code and make page() more useful

Instead of repeating logic about file lengths all over and only
calling page() for long files, simply move the conditionals into the
one place and do it there.
abcde