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:
parent
94e60061eb
commit
f3ad899a2d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user