Fix printing large packets in ssl_server2

This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-18 13:07:20 +02:00 committed by Paul Bakker
parent b46e6adb9c
commit 0669f272e9

View file

@ -1506,7 +1506,8 @@ reset:
larger_buf[ori_len + extra_len] = '\0';
printf( " %u bytes read (%u + %u)\n\n%s\n",
ori_len + extra_len, ori_len, extra_len, (char *) buf );
ori_len + extra_len, ori_len, extra_len,
(char *) larger_buf );
polarssl_free( larger_buf );
}