summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Weinberg <stephen@q5comm.com>2010-02-25 14:49:14 -0800
committerStephen Weinberg <stephen@q5comm.com>2010-02-25 14:49:14 -0800
commit71055a66762713ccf33a48626514ed2dc7c2f5c5 (patch)
treeb75d7b13e3eb00172ea16c98351e20c2a506a3d7
parent66fe5e95b8cbba8afc73fcc3b05222cd8cf08922 (diff)
downloadgolang-71055a66762713ccf33a48626514ed2dc7c2f5c5.tar.gz
Fix small typo in net package.
R=rsc CC=golang-dev http://codereview.appspot.com/224061 Committer: Russ Cox <rsc@golang.org>
-rw-r--r--src/pkg/net/unixsock.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/unixsock.go b/src/pkg/net/unixsock.go
index 8f642210f..727b99f7a 100644
--- a/src/pkg/net/unixsock.go
+++ b/src/pkg/net/unixsock.go
@@ -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) {