fix some typos

This commit is contained in:
Lei Xue
2015-01-13 18:46:56 +08:00
parent 5afdc469a3
commit 029e3a3822
5 changed files with 5 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ func (w *countingWriter) Write(p []byte) (n int, err error) {
return len(p), nil
}
// rangesMIMESize returns the nunber of bytes it takes to encode the
// rangesMIMESize returns the number of bytes it takes to encode the
// provided ranges as a multipart response.
func rangesMIMESize(ranges []httpRange, contentType string, contentSize int64) (encSize int64) {
var w countingWriter