]> Sergey Matveev's repositories - public-inbox.git/commit
http: simplify offset calculation slightly
authorEric Wong <e@80x24.org>
Sat, 27 Feb 2016 02:14:21 +0000 (02:14 +0000)
committerEric Wong <e@80x24.org>
Sat, 27 Feb 2016 10:33:29 +0000 (10:33 +0000)
commit2cc034627726da5c73c88d5ff7a8b136cc9ce759
tree699218a08f5e9996e90f364d58b98abbbcde89de
parentac6f7081a484a053ddb60a2f8b6b6487664827ac
http: simplify offset calculation slightly

No point in comparing an empty string; length() is only
potentially expensive on big strings.
lib/PublicInbox/HTTP.pm