chat(): Remove a pointless close_client_ssl_connection() call
authorFabian Keil <fk@fabiankeil.de>
Mon, 1 Jun 2020 14:49:57 +0000 (16:49 +0200)
committerFabian Keil <fk@fabiankeil.de>
Wed, 3 Jun 2020 12:12:22 +0000 (14:12 +0200)
Sponsored by: Robert Klemme

jcc.c

diff --git a/jcc.c b/jcc.c
index 122b2b4..6f399ee 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -3760,7 +3760,6 @@ static void chat(struct client_state *csp)
          {
             log_error(LOG_LEVEL_ERROR,
                "Failed to open a secure connection with the client");
-            close_client_ssl_connection(csp); /* XXX: Is this needed? */
             return;
          }
          if (JB_ERR_OK != process_encrypted_request(csp))