summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-08-22 20:57:20 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-08-22 20:57:20 +0000
commit4d8250edcf0cb3d37ee7447cb0cb8d1a91fab8f4 (patch)
treea7ce3cbcf8172600789ac052b68bc56d495cbf52
parent2e17be6e77d2d0081cf6e7f3d4300be9e9c5a371 (diff)
shutdown(SHUT_RDWR) not needed before close here; ok markus@
-rw-r--r--usr.bin/ssh/ssh-agent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index 6723148a8dc..bcfc8b91b80 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -35,7 +35,7 @@
#include "includes.h"
#include <sys/queue.h>
-RCSID("$OpenBSD: ssh-agent.c,v 1.101 2002/08/22 19:27:53 stevesk Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.102 2002/08/22 20:57:19 stevesk Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@@ -105,7 +105,6 @@ extern char *__progname;
static void
close_socket(SocketEntry *e)
{
- shutdown(e->fd, SHUT_RDWR);
close(e->fd);
e->fd = -1;
e->type = AUTH_UNUSED;