summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-11 20:28:05 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-11 20:28:05 +0000
commit1aa6427c0f0385fde48e3457a9ebf37b8de77d06 (patch)
treecafc81b488008599b6ecc64e60ef6e1e046c9d79 /ssh.c
parent9a17c9a568904d08b3d1e01ff5fc78ebd060101c (diff)
- (bal) Cygwin fix up from swap uid clean up in ssh.c patch by
vinschen@redhat.com
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh.c b/ssh.c
index 5693c0d3..be9c78b0 100644
--- a/ssh.c
+++ b/ssh.c
@@ -615,7 +615,11 @@ again:
cerr = ssh_connect(host, &hostaddr, options.port, IPv4or6,
options.connection_attempts,
+#ifdef HAVE_CYGWIN
+ options.use_privileged_port,
+#else
original_effective_uid == 0 && options.use_privileged_port,
+#endif
options.proxy_command);
/*