From 6482ec1f7550f0fca153bd8f556327902c7afec8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 13 Jun 2014 20:56:34 +0000 Subject: Telnet really needed a flush function. Now it has one. We can't be waiting for an update later on to flush our buffers all the time! --- src/stable/protocoltelnet.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/stable/protocoltelnet.cpp') diff --git a/src/stable/protocoltelnet.cpp b/src/stable/protocoltelnet.cpp index d1d47a5..1461b0e 100644 --- a/src/stable/protocoltelnet.cpp +++ b/src/stable/protocoltelnet.cpp @@ -321,6 +321,11 @@ void Bu::ProtocolTelnet::write( char cData ) write( &cData, 1 ); } +void Bu::ProtocolTelnet::flush() +{ + pClient->flush(); +} + void Bu::ProtocolTelnet::onWill( char cCode ) { try -- cgit v1.2.3