From 7de5ea750568b4c54e581a80ece30c107c697d92 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 9 Jul 2019 22:52:28 +0100 Subject: Change some SSL_accept() debug output to be DEBUG_FULL instead of DEBUG_CRIT. --- sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sockets.c') diff --git a/sockets.c b/sockets.c index d10811e..64a3e5d 100644 --- a/sockets.c +++ b/sockets.c @@ -284,7 +284,7 @@ int openssl_accept(int fd, struct client *clients, struct ircdstate *ircdstate, // SSL_accept() either failed (bad) or is just pending read or write (which is OK) int sslerr = SSL_get_error(clients[clientindex].ssl, ret); if (sslerr == SSL_ERROR_WANT_READ || sslerr == SSL_ERROR_WANT_WRITE) { - debugprint(DEBUG_CRIT, "SSL_accept() pending for new connection fd %d (ret = %d, sslerr = %d), looping...\n", clients[clientindex].fd, ret, sslerr); + debugprint(DEBUG_FULL, "SSL_accept() pending for new connection fd %d (ret = %d, sslerr = %d), looping...\n", clients[clientindex].fd, ret, sslerr); return -1; } else { char* errstr = openssl_error_string(); -- cgit v1.2.3