summaryrefslogtreecommitdiff
path: root/blabouncer.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2023-07-24 22:10:17 +0100
committerLuke Bratch <luke@bratch.co.uk>2023-07-24 22:10:17 +0100
commitc2a20b4edb60ae03382e45e42d379117af2a995d (patch)
treec57048da33fa5e934a746c16e4a1dc6b0d57c005 /blabouncer.c
parent3737c7a9750d3035f76128a9c32a32a4226c3939 (diff)
Fix incorrectly printed debug message.
Diffstat (limited to 'blabouncer.c')
-rw-r--r--blabouncer.c2
1 files changed, 1 insertions, 1 deletions
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';
}
}