diff --git a/src/terminal/TerminalServer.cpp b/src/terminal/TerminalServer.cpp index a7896c6cd..7f5ef9cc4 100644 --- a/src/terminal/TerminalServer.cpp +++ b/src/terminal/TerminalServer.cpp @@ -80,7 +80,7 @@ void runJumpHost(shared_ptr serverClientState) { if (serverClientState->hasData()) { VLOG(4) << "Jumphost serverClientState has data"; string message; - if (!serverClientState->readMessage(&message)) { + if (!serverClientState->read(&message)) { break; } try {