summaryrefslogtreecommitdiff
path: root/src/pkg/net/ipsock.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/ipsock.go')
-rw-r--r--src/pkg/net/ipsock.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/net/ipsock.go b/src/pkg/net/ipsock.go
index 76a64e76e..fd37155a2 100644
--- a/src/pkg/net/ipsock.go
+++ b/src/pkg/net/ipsock.go
@@ -30,9 +30,7 @@ var preferIPv4 = !kernelSupportsIPv6()
// TODO(rsc): if syscall.OS == "linux", we're supposd to read
// /proc/sys/net/core/somaxconn,
// to take advantage of kernels that have raised the limit.
-func listenBacklog() int {
- return syscall.SOMAXCONN;
-}
+func listenBacklog() int { return syscall.SOMAXCONN }
// Internet sockets (TCP, UDP)