1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:30:21 -07:00

net: fix windows build

TBR=r
CC=golang-dev
https://golang.org/cl/4425059
This commit is contained in:
Russ Cox 2011-04-20 17:11:25 -04:00
parent 220f83134a
commit 6e928e411b

View File

@ -47,7 +47,7 @@ func goLookupIP(name string) (addrs []IP, err os.Error) {
return addrs, nil
}
func LookupCNAME(name string) (cname string, err os.Error) {
func goLookupCNAME(name string) (cname string, err os.Error) {
var r *syscall.DNSRecord
e := syscall.DnsQuery(name, syscall.DNS_TYPE_CNAME, 0, nil, &r, nil)
if int(e) != 0 {