Commit 8ebfe084 authored by Peter Vaskovic's avatar Peter Vaskovic Committed by Paul Bakker

Fix minor format string inconsistency.

parent c2bbac96
......@@ -131,7 +131,7 @@ void debug_print_buf( const ssl_context *ssl, int level,
if( debug_log_mode == POLARSSL_DEBUG_LOG_FULL )
idx = snprintf( str, maxlen, "%s(%04d): ", file, line );
snprintf( str + idx, maxlen - idx, "dumping '%s' (%d bytes)\n",
snprintf( str + idx, maxlen - idx, "dumping '%s' (%u bytes)\n",
text, (unsigned int) len );
str[maxlen] = '\0';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment