From eec2446723b405dbe5d700ee32b6e182508e9927 Mon Sep 17 00:00:00 2001 From: Yves Rutschle Date: Sat, 13 May 2023 22:57:08 +0200 Subject: [PATCH] fix error messages --- sslh-select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sslh-select.c b/sslh-select.c index 50cc6d3..62e477e 100644 --- a/sslh-select.c +++ b/sslh-select.c @@ -180,9 +180,9 @@ void main_loop(struct listen_endpoint listen_sockets[], int num_addr_listen) for (i = 0; i < fd_info.num_probing; i++) { struct connection* cnx = gap_get(fd_info.probing_list, i); if (!cnx || cnx->state != ST_PROBING) { - print_message(msg_int_error, "Inconsistent probing: cnx=%0xp\n", cnx); + print_message(msg_int_error, "Inconsistent probing: cnx=0x%p\n", cnx); if (cnx) - print_message(msg_int_error, "Inconsistent probing: state=%d\n", cnx); + print_message(msg_int_error, "Inconsistent probing: state=%d\n", cnx->state); exit(1); } if (cnx->probe_timeout < time(NULL)) {