From: Stephen Weinberg Date: Thu, 25 Feb 2010 22:49:14 +0000 (-0800) Subject: Fix small typo in net package. X-Git-Tag: weekly.2010-03-04~34 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b86c0b0c4a69aaca1bd748fb2969f90cb2a28310;p=gostls13.git Fix small typo in net package. R=rsc CC=golang-dev https://golang.org/cl/224061 --- diff --git a/src/pkg/net/unixsock.go b/src/pkg/net/unixsock.go index 8f642210fe..727b99f7af 100644 --- a/src/pkg/net/unixsock.go +++ b/src/pkg/net/unixsock.go @@ -297,7 +297,7 @@ func (c *UnixConn) WriteTo(b []byte, addr Addr) (n int, err os.Error) { return c.WriteToUnix(b, a) } -// DialUDP connects to the remote address raddr on the network net, +// DialUnix connects to the remote address raddr on the network net, // which must be "unix" or "unixdgram". If laddr is not nil, it is used // as the local address for the connection. func DialUnix(net string, laddr, raddr *UnixAddr) (c *UnixConn, err os.Error) {