1
0
mirror of https://github.com/golang/go synced 2024-11-22 08:14:40 -07:00

Fix a typo in net/unixsock

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/1113041
This commit is contained in:
Conrad Meyer 2010-05-05 09:55:11 -07:00 committed by Robert Griesemer
parent 11f821fc39
commit 5789c86fc0

View File

@ -278,7 +278,7 @@ func (c *UnixConn) WriteTo(b []byte, addr Addr) (n int, err os.Error) {
} }
// DialUnix 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 // which must be "unix" or "unixgram". If laddr is not nil, it is used
// as the local address for the connection. // as the local address for the connection.
func DialUnix(net string, laddr, raddr *UnixAddr) (c *UnixConn, err os.Error) { func DialUnix(net string, laddr, raddr *UnixAddr) (c *UnixConn, err os.Error) {
fd, e := unixSocket(net, laddr, raddr, "dial") fd, e := unixSocket(net, laddr, raddr, "dial")