Skip to content

Commit 8c3d24b

Browse files
authored
mbedtls: fix broken -d trace_ssl after #26574 (#26580)
1 parent 113fab6 commit 8c3d24b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vlib/net/mbedtls/ssl_connection.c.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ pub fn (mut s SSLConn) socket_read_into_ptr(buf_ptr &u8, len int) !int {
586586
}
587587
C.MBEDTLS_ERR_SSL_TIMEOUT {
588588
$if trace_ssl ? {
589-
eprintln('${@METHOD} ---> res: ${err} C.MBEDTLS_ERR_SSL_TIMEOUT')
589+
eprintln('${@METHOD} ---> res: C.MBEDTLS_ERR_SSL_TIMEOUT')
590590
}
591591
return error_with_code('net.mbedtls SSLConn.socket_read_into_ptr, did not receive any data within ${mbedtls_client_read_timeout_ms}ms. compile with `-d mbedtls_client_read_timeout_ms=100000` to set a higher timeout',
592592
res)

0 commit comments

Comments
 (0)