diff options
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c index 31cd238ee..64eb8d5fa 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: sshconnect.c,v 1.116 2001/12/05 10:06:13 deraadt Exp $"); | 16 | RCSID("$OpenBSD: sshconnect.c,v 1.117 2001/12/06 18:02:32 stevesk Exp $"); |
17 | 17 | ||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | 19 | ||
@@ -340,7 +340,6 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr, | |||
340 | * which connect() has already returned an | 340 | * which connect() has already returned an |
341 | * error. | 341 | * error. |
342 | */ | 342 | */ |
343 | shutdown(sock, SHUT_RDWR); | ||
344 | close(sock); | 343 | close(sock); |
345 | } | 344 | } |
346 | } | 345 | } |