summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timewait.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-09-05 12:22:54 +0000
committerglebius <glebius@FreeBSD.org>2006-09-05 12:22:54 +0000
commit697f63c7e38704080405c88c677160d45505d51f (patch)
tree49e3e80d60f2392ad72b764e8ca9d16e84b2f945 /sys/netinet/tcp_timewait.c
parent80fe7ed76d0d2b91fb148b5ede2d66cf175b1598 (diff)
downloadFreeBSD-src-697f63c7e38704080405c88c677160d45505d51f.zip
FreeBSD-src-697f63c7e38704080405c88c677160d45505d51f.tar.gz
Remove extra parenthesis in last commit.
Nitpicked by: ru
Diffstat (limited to 'sys/netinet/tcp_timewait.c')
-rw-r--r--sys/netinet/tcp_timewait.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index cb20deb..5563ea4 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -189,9 +189,9 @@ sysctl_maxtcptw(SYSCTL_HANDLER_ARGS)
new = maxtcptw;
error = sysctl_handle_int(oidp, &new, sizeof(int), req);
if (error == 0 && req->newptr) {
- if (new > maxtcptw) {
+ if (new > maxtcptw)
maxtcptw = new;
- } else
+ else
error = EINVAL;
}
return (error);
OpenPOWER on IntegriCloud