]> Cypherpunks repositories - gostls13.git/commit
net/http: remove a duplicated check
authorRobert Obryk <robryk@gmail.com>
Tue, 24 Jun 2014 00:38:17 +0000 (17:38 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 24 Jun 2014 00:38:17 +0000 (17:38 -0700)
commit71c9a4948a38d0bd9430b42b50f8e5312c8bc9f0
treea8f0542c2cc0f453854e56e1c38d866efeb25d35
parentfbd5ad585d03ee750b7d58a85cf0d40079b28833
net/http: remove a duplicated check

The previous call to parseRange already checks whether
all the ranges start before the end of file.

LGTM=robert.hencke, bradfitz
R=golang-codereviews, robert.hencke, gobot, bradfitz
CC=golang-codereviews
https://golang.org/cl/91880044
src/pkg/net/http/fs.go