]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix typo
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 5 Apr 2011 01:35:16 +0000 (11:35 +1000)
committerAndrew Gerrand <adg@golang.org>
Tue, 5 Apr 2011 01:35:16 +0000 (11:35 +1000)
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4315049

src/pkg/net/hosts.go

index 8525f578d74457af6e80752eeb3194b9907fe05d..d75e9e038a6791360b4f1a1cb49c850015726e7c 100644 (file)
@@ -59,7 +59,7 @@ func readHosts() {
        }
 }
 
-// lookupStaticHosts looks up the addresses for the given host from /etc/hosts.
+// lookupStaticHost looks up the addresses for the given host from /etc/hosts.
 func lookupStaticHost(host string) []string {
        hosts.Lock()
        defer hosts.Unlock()
@@ -72,7 +72,7 @@ func lookupStaticHost(host string) []string {
        return nil
 }
 
-// rlookupStaticHosts looks up the hosts for the given address from /etc/hosts.
+// lookupStaticAddr looks up the hosts for the given address from /etc/hosts.
 func lookupStaticAddr(addr string) []string {
        hosts.Lock()
        defer hosts.Unlock()