Cleaning up more api code

This commit is contained in:
Frederick F. Kautz IV
2015-03-29 21:06:47 -07:00
parent 0f6abe9ee3
commit 452f0f8335
3 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func (r *httpRange) getContentRange() string {
}
// Grab new range from request header
func newRange(req *http.Request, size int64) (*httpRange, error) {
func getRequestedRange(req *http.Request, size int64) (*httpRange, error) {
r := &httpRange{
start: 0,
length: 0,