summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-12-07 17:24:49 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-12-07 17:24:49 +0000
commite181a4d2949d063a9417cf2691cb0ec2d3568e53 (patch)
tree1dd8fb0cb1305a95c17a6778386fffba7bee358c /sshconnect.c
parentc97b1affc53cbe2c9a0777b7c9b9d400b09b2f89 (diff)
- stevesk@cvs.openbsd.org 2001/12/06 18:02:32
[channels.c sshconnect.c] shutdown(sock, SHUT_RDWR) not needed here; ok markus@
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 31cd238e..64eb8d5f 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.116 2001/12/05 10:06:13 deraadt Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.117 2001/12/06 18:02:32 stevesk Exp $");
#include <openssl/bn.h>
@@ -340,7 +340,6 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
* which connect() has already returned an
* error.
*/
- shutdown(sock, SHUT_RDWR);
close(sock);
}
}