diff options
author | Mike Buland <eichlan@xagasoft.com> | 2014-06-13 20:56:34 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2014-06-13 20:56:34 +0000 |
commit | 6482ec1f7550f0fca153bd8f556327902c7afec8 (patch) | |
tree | ed95297d44c6ab810d12daaa1d9276e0d959bdd5 /src/stable/protocoltelnet.cpp | |
parent | 19cad7be85d35ffff5b78aa43e45fe473ade60f3 (diff) | |
download | libbu++-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.cpp | 5 |
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 | ||
324 | void Bu::ProtocolTelnet::flush() | ||
325 | { | ||
326 | pClient->flush(); | ||
327 | } | ||
328 | |||
324 | void Bu::ProtocolTelnet::onWill( char cCode ) | 329 | void Bu::ProtocolTelnet::onWill( char cCode ) |
325 | { | 330 | { |
326 | try | 331 | try |