From 33f434f85e6e4068bec08798febabb9d6810d5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisendo=CC=88rfer?= Date: Sun, 17 Mar 2013 16:14:53 +0100 Subject: [PATCH] Better comment --- src/cmd/tusd/content_range.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/tusd/content_range.go b/src/cmd/tusd/content_range.go index c1ccc5d..40c61f8 100644 --- a/src/cmd/tusd/content_range.go +++ b/src/cmd/tusd/content_range.go @@ -16,7 +16,7 @@ type contentRange struct { // parseContentRange parse a Content-Range string like "5-10/100". // see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16 . -// Asterisks "*" will result in End/Size being set to -1. +// "*" values causes End/Size to be set to -1. func parseContentRange(s string) (*contentRange, error) { const prefix = "bytes " offset := strings.Index(s, prefix)