chat(): Don't log process_encrypted_request() failures
authorFabian Keil <fk@fabiankeil.de>
Fri, 28 Aug 2020 13:05:08 +0000 (15:05 +0200)
committerFabian Keil <fk@fabiankeil.de>
Tue, 1 Sep 2020 10:22:42 +0000 (12:22 +0200)
.. as parse errors.

process_encrypted_request() already logs errors with
a more precise explanation.

Sponsored by: Robert Klemme

jcc.c

diff --git a/jcc.c b/jcc.c
index 8d92f65..ec492ef 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -3874,7 +3874,6 @@ static void chat(struct client_state *csp)
          }
          if (JB_ERR_OK != process_encrypted_request(csp))
          {
-            log_error(LOG_LEVEL_ERROR, "Failed to parse encrypted request.");
             close_client_ssl_connection(csp);
             return;
          }