diff options
author | Mikio Hara <mikioh.mikioh@gmail.com> | 2011-04-05 11:35:16 +1000 |
---|---|---|
committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2011-04-05 11:35:16 +1000 |
commit | e6329266fb11ccdcd25da802794d3663b5f79ac4 (patch) | |
tree | 27b40f94b77af146fa992b68149cc210b079e042 | |
parent | 59df9f9b1f859c907e646d0b4fc85973b4911d31 (diff) | |
download | go-e6329266fb11ccdcd25da802794d3663b5f79ac4.tar.gz |
net: fix typo
R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/4315049
Committer: Andrew Gerrand <adg@golang.org>
-rw-r--r-- | src/pkg/net/hosts.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/net/hosts.go b/src/pkg/net/hosts.go index 8525f578d..d75e9e038 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() |