mirror of
https://github.com/golang/go
synced 2024-11-22 01:14:40 -07:00
Fix small typo in net package.
R=rsc CC=golang-dev https://golang.org/cl/224061
This commit is contained in:
parent
dbe0b57012
commit
b86c0b0c4a
@ -297,7 +297,7 @@ func (c *UnixConn) WriteTo(b []byte, addr Addr) (n int, err os.Error) {
|
|||||||
return c.WriteToUnix(b, a)
|
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
|
// which must be "unix" or "unixdgram". 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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user