code style

Signed-off-by: valord577 <valord577@gmail.com>
This commit is contained in:
valord577 2023-02-15 19:45:12 +08:00 committed by Dave Rodgman
parent 536893c22f
commit 176e92711c

View File

@ -86,9 +86,9 @@ void mbedtls_debug_print_msg(const mbedtls_ssl_context *ssl, int level,
va_end(argp);
if (ret < 0) {
eol= 0;
eol = 0;
} else {
eol= ret;
eol = ret;
if (ret >= DEBUG_BUF_SIZE - 1) {
eol = DEBUG_BUF_SIZE - 2;
}