1
0
mirror of https://github.com/golang/go synced 2024-11-19 22:04:44 -07:00

net/http: fix typo in comment

LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://golang.org/cl/138960043
This commit is contained in:
Dmitri Shuralyov 2014-09-01 12:03:23 +10:00 committed by Andrew Gerrand
parent 686ecd83c0
commit 310bc98083

View File

@ -403,7 +403,7 @@ func serveFile(w ResponseWriter, r *Request, fs FileSystem, name string, redirec
return
}
// serverContent will check modification time
// serveContent will check modification time
sizeFunc := func() (int64, error) { return d.Size(), nil }
serveContent(w, r, d.Name(), d.ModTime(), sizeFunc, f)
}