mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Rename mbedtls_net_close() to mbedtls_net_free()
close() may be more meaningful, but free() is symmetric with _init(), and more consistent with all other modules
This commit is contained in:
@@ -615,9 +615,9 @@ exit:
|
||||
}
|
||||
#endif
|
||||
|
||||
mbedtls_net_close( &client_fd );
|
||||
mbedtls_net_close( &server_fd );
|
||||
mbedtls_net_close( &listen_fd );
|
||||
mbedtls_net_free( &client_fd );
|
||||
mbedtls_net_free( &server_fd );
|
||||
mbedtls_net_free( &listen_fd );
|
||||
|
||||
#if defined(_WIN32)
|
||||
mbedtls_printf( " Press Enter to exit this program.\n" );
|
||||
|
Reference in New Issue
Block a user