]> Cypherpunks repositories - gostls13.git/commitdiff
Fix small typo in net package.
authorStephen Weinberg <stephen@q5comm.com>
Thu, 25 Feb 2010 22:49:14 +0000 (14:49 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 25 Feb 2010 22:49:14 +0000 (14:49 -0800)
R=rsc
CC=golang-dev
https://golang.org/cl/224061

src/pkg/net/unixsock.go

index 8f642210fea987a4f1a197205340068db86c7a6c..727b99f7af7acb12d491094a0c63324ee37466a5 100644 (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) {