diff options
| author | Dmitri Shuralyov <shurcooL@gmail.com> | 2014-09-01 12:03:23 +1000 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2014-09-01 12:03:23 +1000 |
| commit | 310bc98083c57b87df6e8020bfd97e35a8127bf1 (patch) | |
| tree | 8b405be7a32d507b46fa76787f02d5e577823c38 /src | |
| parent | 686ecd83c04c9904de9457c7b14380cc2c04cff2 (diff) | |
| download | go-310bc98083c57b87df6e8020bfd97e35a8127bf1.tar.xz | |
net/http: fix typo in comment
LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://golang.org/cl/138960043
Diffstat (limited to 'src')
| -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 146b0026b9..bae902cd29 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) } |
