You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
stream_peer_openssl: add missing break & format
This commit is contained in:
@@ -412,8 +412,12 @@ void StreamPeerOpenSSL::_print_error(int err) {
|
|||||||
|
|
||||||
err = SSL_get_error(ssl, err);
|
err = SSL_get_error(ssl, err);
|
||||||
switch (err) {
|
switch (err) {
|
||||||
case SSL_ERROR_NONE: ERR_PRINT("NO ERROR: The TLS/SSL I/O operation completed"); break;
|
case SSL_ERROR_NONE:
|
||||||
case SSL_ERROR_ZERO_RETURN: ERR_PRINT("The TLS/SSL connection has been closed.");
|
ERR_PRINT("NO ERROR: The TLS/SSL I/O operation completed");
|
||||||
|
break;
|
||||||
|
case SSL_ERROR_ZERO_RETURN:
|
||||||
|
ERR_PRINT("The TLS/SSL connection has been closed.");
|
||||||
|
break;
|
||||||
case SSL_ERROR_WANT_READ:
|
case SSL_ERROR_WANT_READ:
|
||||||
case SSL_ERROR_WANT_WRITE:
|
case SSL_ERROR_WANT_WRITE:
|
||||||
ERR_PRINT("The operation did not complete.");
|
ERR_PRINT("The operation did not complete.");
|
||||||
|
|||||||
Reference in New Issue
Block a user