]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in comment
authorDmitri Shuralyov <shurcooL@gmail.com>
Mon, 1 Sep 2014 02:03:23 +0000 (12:03 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 1 Sep 2014 02:03:23 +0000 (12:03 +1000)
LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://golang.org/cl/138960043

src/pkg/net/http/fs.go

index 146b0026b9815e147e6a895672ac2d1cb03ffa18..bae902cd29c474128e2b9537923fc2a47c466caf 100644 (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)
 }