1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:04:41 -07:00

Fix small typo in net package.

R=rsc
CC=golang-dev
https://golang.org/cl/224061
This commit is contained in:
Stephen Weinberg 2010-02-25 14:49:14 -08:00 committed by Russ Cox
parent dbe0b57012
commit b86c0b0c4a

View File

@ -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) {