summaryrefslogtreecommitdiff
path: root/sockets.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-07-09 22:52:28 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-07-09 22:52:28 +0100
commit7de5ea750568b4c54e581a80ece30c107c697d92 (patch)
tree7041f7baabee286f1b8a62f3312a5099d4d8bf25 /sockets.c
parent17d7f9e8e6e5e41ef3411728671e414319726727 (diff)
Change some SSL_accept() debug output to be DEBUG_FULL instead of DEBUG_CRIT.
Diffstat (limited to 'sockets.c')
-rw-r--r--sockets.c2
1 files changed, 1 insertions, 1 deletions
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();