From: Alex Brainman Date: Thu, 22 Aug 2013 02:34:05 +0000 (+1000) Subject: net: fix misspelled variable name (fixes windows build) X-Git-Tag: go1.2rc2~455 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e541c861a3e2d012e8acee84185f32c6fecac9f5;p=gostls13.git net: fix misspelled variable name (fixes windows build) R=golang-dev, adg CC=golang-dev, mikioh.mikioh https://golang.org/cl/12848047 --- diff --git a/src/pkg/net/lookup_windows.go b/src/pkg/net/lookup_windows.go index dcbb6d74f1..130364231d 100644 --- a/src/pkg/net/lookup_windows.go +++ b/src/pkg/net/lookup_windows.go @@ -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