1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:07:58 -07:00

net: fix typo

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4315049
This commit is contained in:
Mikio Hara 2011-04-05 11:35:16 +10:00 committed by Andrew Gerrand
parent 94e60061eb
commit f3ad899a2d

View 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()