summaryrefslogtreecommitdiff
path: root/src/stable/protocoltelnet.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2014-06-13 20:56:34 +0000
committerMike Buland <eichlan@xagasoft.com>2014-06-13 20:56:34 +0000
commit6482ec1f7550f0fca153bd8f556327902c7afec8 (patch)
treeed95297d44c6ab810d12daaa1d9276e0d959bdd5 /src/stable/protocoltelnet.cpp
parent19cad7be85d35ffff5b78aa43e45fe473ade60f3 (diff)
downloadlibbu++-6482ec1f7550f0fca153bd8f556327902c7afec8.tar.gz
libbu++-6482ec1f7550f0fca153bd8f556327902c7afec8.tar.bz2
libbu++-6482ec1f7550f0fca153bd8f556327902c7afec8.tar.xz
libbu++-6482ec1f7550f0fca153bd8f556327902c7afec8.zip
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!
Diffstat (limited to 'src/stable/protocoltelnet.cpp')
-rw-r--r--src/stable/protocoltelnet.cpp5
1 files changed, 5 insertions, 0 deletions
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 )
321 write( &cData, 1 ); 321 write( &cData, 1 );
322} 322}
323 323
324void Bu::ProtocolTelnet::flush()
325{
326 pClient->flush();
327}
328
324void Bu::ProtocolTelnet::onWill( char cCode ) 329void Bu::ProtocolTelnet::onWill( char cCode )
325{ 330{
326 try 331 try