Commit a63f73c1 authored by Andrew Gerrand's avatar Andrew Gerrand

net: fix typo

Fixes #819.

R=rsc
CC=golang-dev
https://golang.org/cl/1421041
parent 24566d42
...@@ -155,7 +155,7 @@ func Dial(net, laddr, raddr string) (c Conn, err os.Error) { ...@@ -155,7 +155,7 @@ func Dial(net, laddr, raddr string) (c Conn, err os.Error) {
return nil, err return nil, err
} }
return c, nil return c, nil
case "udp", "udp4", "upd6": case "udp", "udp4", "udp6":
var la, ra *UDPAddr var la, ra *UDPAddr
if laddr != "" { if laddr != "" {
if la, err = ResolveUDPAddr(laddr); err != nil { if la, err = ResolveUDPAddr(laddr); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment