diff --git a/dist/macOS/arm64.Dockerfile b/dist/macOS/arm64.Dockerfile index 25f1bb74e..2f1613fa7 100644 --- a/dist/macOS/arm64.Dockerfile +++ b/dist/macOS/arm64.Dockerfile @@ -67,6 +67,7 @@ vcpkg install --triplet=arm-osx-mytriplet zlib vcpkg install --triplet=arm-osx-mytriplet bzip2 vcpkg install --triplet=arm-osx-mytriplet liblzma vcpkg install --triplet=arm-osx-mytriplet zstd +vcpkg install --triplet=arm-osx-mytriplet libssh2 EOF ## Install glfw3 dep diff --git a/plugins/builtin/source/content/text_highlighting/pattern_language.cpp b/plugins/builtin/source/content/text_highlighting/pattern_language.cpp index e71b149e9..5ab651a63 100644 --- a/plugins/builtin/source/content/text_highlighting/pattern_language.cpp +++ b/plugins/builtin/source/content/text_highlighting/pattern_language.cpp @@ -1161,8 +1161,8 @@ namespace hex::plugin::builtin { next(-1); skipArray(200, false); next(-1); - return false; } + return false; } else return false; diff --git a/plugins/remote/source/content/helpers/sftp_client.cpp b/plugins/remote/source/content/helpers/sftp_client.cpp index da6f05ba0..a30e82bfa 100644 --- a/plugins/remote/source/content/helpers/sftp_client.cpp +++ b/plugins/remote/source/content/helpers/sftp_client.cpp @@ -3,6 +3,8 @@ #include #include +#include + #if defined(OS_WINDOWS) #include #endif diff --git a/plugins/remote/source/content/providers/ssh_provider.cpp b/plugins/remote/source/content/providers/ssh_provider.cpp index 6a6845442..676b174b4 100644 --- a/plugins/remote/source/content/providers/ssh_provider.cpp +++ b/plugins/remote/source/content/providers/ssh_provider.cpp @@ -2,6 +2,7 @@ #include #include +#include #include #include @@ -20,6 +21,7 @@ namespace hex::plugin::remote { m_sftpClient = std::move(client); } } catch (const std::exception& e) { + setErrorMessage(e.what()); return false; } } @@ -101,6 +103,7 @@ namespace hex::plugin::remote { m_sftpClient = std::move(client); } } catch (const std::exception& e) { + log::error("Failed to connect to SSH server: {}", e.what()); return false; } }