diff options
author | Luke Bratch <luke@bratch.co.uk> | 2023-07-24 22:10:17 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2023-07-24 22:10:17 +0100 |
commit | c2a20b4edb60ae03382e45e42d379117af2a995d (patch) | |
tree | c57048da33fa5e934a746c16e4a1dc6b0d57c005 | |
parent | 3737c7a9750d3035f76128a9c32a32a4226c3939 (diff) |
Fix incorrectly printed debug message.
-rw-r--r-- | blabouncer.c | 2 |
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'; } } |