mirror of
https://github.com/golang/go
synced 2024-11-22 02:44:39 -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:
parent
11f821fc39
commit
5789c86fc0
@ -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,
|
||||
// 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.
|
||||
func DialUnix(net string, laddr, raddr *UnixAddr) (c *UnixConn, err os.Error) {
|
||||
fd, e := unixSocket(net, laddr, raddr, "dial")
|
||||
|
Loading…
Reference in New Issue
Block a user