projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for automatically tuning the SSH-2 window size for decent
[u/mdw/putty]
/
unix
/
uxnet.c
diff --git
a/unix/uxnet.c
b/unix/uxnet.c
index
2b3d8cb
..
e1dfce3
100644
(file)
--- a/
unix/uxnet.c
+++ b/
unix/uxnet.c
@@
-470,7
+470,7
@@
static int try_connect(Actual_Socket sock)
goto ret;
}
-
fcntl(s, F_SETFD, FD_CLOEXEC
);
+
cloexec(s
);
if (sock->oobinline) {
int b = TRUE;
@@
-725,7
+725,7
@@
Socket sk_newlistener(char *srcaddr, int port, Plug plug, int local_host_only, i
return (Socket) ret;
}
-
fcntl(s, F_SETFD, FD_CLOEXEC
);
+
cloexec(s
);
ret->oobinline = 0;