From: Mikio Hara Date: Tue, 5 Apr 2011 01:35:16 +0000 (+1000) Subject: net: fix typo X-Git-Tag: weekly.2011-04-04~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f3ad899a2d50a0d6daaf69bc4b2ce69ee6b85334;p=gostls13.git net: fix typo R=golang-dev, adg CC=golang-dev https://golang.org/cl/4315049 --- diff --git a/src/pkg/net/hosts.go b/src/pkg/net/hosts.go index 8525f578d7..d75e9e038a 100644 --- a/src/pkg/net/hosts.go +++ b/src/pkg/net/hosts.go @@ -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()