mirror of
https://github.com/golang/go
synced 2024-11-20 04:04:41 -07:00
net: fix typo
Fixes #819. R=rsc CC=golang-dev https://golang.org/cl/1421041
This commit is contained in:
parent
24566d4236
commit
a63f73c196
@ -155,7 +155,7 @@ func Dial(net, laddr, raddr string) (c Conn, err os.Error) {
|
||||
return nil, err
|
||||
}
|
||||
return c, nil
|
||||
case "udp", "udp4", "upd6":
|
||||
case "udp", "udp4", "udp6":
|
||||
var la, ra *UDPAddr
|
||||
if laddr != "" {
|
||||
if la, err = ResolveUDPAddr(laddr); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user