mirror of
https://github.com/golang/go
synced 2024-09-30 00:24:29 -06:00
net: fix misspelled variable name (fixes windows build)
R=golang-dev, adg CC=golang-dev, mikioh.mikioh https://golang.org/cl/12848047
This commit is contained in:
parent
fd58320f32
commit
e541c861a3
@ -44,7 +44,7 @@ func lookupProtocol(name string) (proto int, err error) {
|
||||
r := <-ch
|
||||
if r.err != nil {
|
||||
if proto, ok := protocols[name]; ok {
|
||||
return protol, nil
|
||||
return proto, nil
|
||||
}
|
||||
}
|
||||
return r.proto, r.err
|
||||
|
Loading…
Reference in New Issue
Block a user