Fix typo in socket_bsd.go.

From-SVN: r169313
This commit is contained in:
Ian Lance Taylor 2011-01-27 00:08:02 +00:00
parent 83f2ff2ad3
commit dc75b81734
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ type RawSockaddrInet6 struct {
}
func (sa *RawSockaddrInet6) setLen() Socklen_t {
sa.raw.Len = SizeofSockaddrInet6
sa.Len = SizeofSockaddrInet6
return SizeofSockaddrInet6
}