Skip to content
Snippets Groups Projects
Commit 1bac2b62 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix sourceforge issue 136

With ssh_sock initialized to zero, if the connect fails, stdin was
closed, preventing ANSI and curses modes from functioning.
parent 86cca22c
No related branches found
No related tags found
No related merge requests found
Pipeline #6653 passed
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#pragma warning(disable : 4244 4267 4018) #pragma warning(disable : 4244 4267 4018)
#endif #endif
SOCKET ssh_sock; SOCKET ssh_sock = INVALID_SOCKET;
CRYPT_SESSION ssh_session; CRYPT_SESSION ssh_session;
int ssh_channel; int ssh_channel;
bool ssh_active = true; bool ssh_active = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment