diff options
author | Dmitri Shuralyov <shurcooL@gmail.com> | 2014-09-01 12:03:23 +1000 |
---|---|---|
committer | Dmitri Shuralyov <shurcooL@gmail.com> | 2014-09-01 12:03:23 +1000 |
commit | 21fcd05421c57caf41815f070c8bbf7016fd17fe (patch) | |
tree | e5bed80258e3e69e331af86a2e35f64bdf4f0572 /src/pkg | |
parent | 032fc4ed3dfda34d1737df434ab936a81054b08d (diff) | |
download | go-21fcd05421c57caf41815f070c8bbf7016fd17fe.tar.gz |
net/http: fix typo in comment
LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://codereview.appspot.com/138960043
Committer: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/pkg')
-rw-r--r-- | src/pkg/net/http/fs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/http/fs.go b/src/pkg/net/http/fs.go index 146b0026b..bae902cd2 100644 --- a/src/pkg/net/http/fs.go +++ b/src/pkg/net/http/fs.go @@ -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) } |