summaryrefslogtreecommitdiff
path: root/src/stable/protocoltelnet.h
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.h
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.h')
-rw-r--r--src/stable/protocoltelnet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stable/protocoltelnet.h b/src/stable/protocoltelnet.h
index 104f029..60faef4 100644
--- a/src/stable/protocoltelnet.h
+++ b/src/stable/protocoltelnet.h
@@ -123,6 +123,7 @@ namespace Bu
123 void write( const Bu::String &sData ); 123 void write( const Bu::String &sData );
124 void write( const char *pData, int iSize ); 124 void write( const char *pData, int iSize );
125 void write( char cData ); 125 void write( char cData );
126 void flush();
126 127
127 const Bu::String &getBuffer() { return sDataBuf; } 128 const Bu::String &getBuffer() { return sDataBuf; }
128 129