summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-04-28 23:59:02 +0200
committerSimon Josefsson <simon@josefsson.org>2008-04-28 23:59:02 +0200
commitff4f8e5c13617bfcb0196ec0ac5c438a787636c0 (patch)
tree1540b9421457534f0cb611dada30c851f03f03cf
parent2794e0a002add8c88433279713ad90c7ada9af00 (diff)
downloadgnutls-ff4f8e5c13617bfcb0196ec0ac5c438a787636c0.tar.gz
Avoid another duplicate call to socket_bye() which can cause a crash.
-rw-r--r--src/cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cli.c b/src/cli.c
index fafc389060..c845e32bc7 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -694,7 +694,6 @@ after_handshake:
if (ret < 0)
{
fprintf (stderr, "*** Handshake has failed\n");
- socket_bye (&hd);
user_term = 1;
break;
}