summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';
}
}