From c2a20b4edb60ae03382e45e42d379117af2a995d Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Mon, 24 Jul 2023 22:10:17 +0100 Subject: Fix incorrectly printed debug message. --- blabouncer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blabouncer.c') diff --git a/blabouncer.c b/blabouncer.c index c7b5f6f..8156ab4 100644 --- a/blabouncer.c +++ b/blabouncer.c @@ -311,7 +311,7 @@ int processrawstring(SSL *server_ssl, char *str, int source, struct client *clie free(strtmp); // Make sure the resulting message isn't too long if (strlen(messages[0]) >= MAXDATASIZE - 1) { - debugprint(DEBUG_CRIT, "processrawstring(): combined truncated message '%d' is too long (%ld out of a maximum of %d characters), clearing it.\n", messages[0], strlen(messages[0]), MAXDATASIZE - 1); + debugprint(DEBUG_CRIT, "processrawstring(): combined truncated message '%s' is too long (%ld out of a maximum of %d characters), clearing it.\n", messages[0], strlen(messages[0]), MAXDATASIZE - 1); messages[0][0] = '\0'; } } -- cgit v1.2.3