From a16baf07776a08ed71fdd7c1b385a75e821c0028 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 13 Jul 2011 15:34:21 -0700 Subject: [PATCH] syscall: change missing from windows net fixes R=golang-dev, r CC=golang-dev https://golang.org/cl/4701045 --- src/pkg/syscall/syscall_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/syscall/syscall_windows.go b/src/pkg/syscall/syscall_windows.go index 048c4fa436..70955b94bf 100644 --- a/src/pkg/syscall/syscall_windows.go +++ b/src/pkg/syscall/syscall_windows.go @@ -476,7 +476,7 @@ func Chmod(path string, mode uint32) (errno int) { //sys WSACleanup() (errno int) [failretval==-1] = wsock32.WSACleanup //sys WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *Overlapped, completionRoutine uintptr) (errno int) [failretval==-1] = ws2_32.WSAIoctl //sys socket(af int32, typ int32, protocol int32) (handle Handle, errno int) [failretval==InvalidHandle] = wsock32.socket -//sys setsockopt(s Handle, level int32, optname int32, optval *byte, optlen int32) (errno int) [failretval==-1] = wsock32.setsockopt +//sys Setsockopt(s Handle, level int32, optname int32, optval *byte, optlen int32) (errno int) [failretval==-1] = wsock32.setsockopt //sys bind(s Handle, name uintptr, namelen int32) (errno int) [failretval==-1] = wsock32.bind //sys connect(s Handle, name uintptr, namelen int32) (errno int) [failretval==-1] = wsock32.connect //sys getsockname(s Handle, rsa *RawSockaddrAny, addrlen *int32) (errno int) [failretval==-1] = wsock32.getsockname