Skip to content

Commit

Permalink
fix hang in jumphost (similar to 15a14d2 )
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Gauci committed Apr 13, 2019
1 parent 4196ec7 commit 195af42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/TerminalServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void runJumpHost(shared_ptr<ServerClientConnection> serverClientState) {
if (serverClientState->hasData()) {
VLOG(4) << "Jumphost serverClientState has data";
string message;
if (!serverClientState->readMessage(&message)) {
if (!serverClientState->read(&message)) {
break;
}
try {
Expand Down

0 comments on commit 195af42

Please sign in to comment.