aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/protocoltelnet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stable/protocoltelnet.cpp b/src/stable/protocoltelnet.cpp
index 153af57..d6e22d1 100644
--- a/src/stable/protocoltelnet.cpp
+++ b/src/stable/protocoltelnet.cpp
@@ -224,8 +224,9 @@ void Bu::ProtocolTelnet::onNewData( Bu::Client *pClient )
224 if( bc2 == CH_NUL || bc2 == CH_LF ) 224 if( bc2 == CH_NUL || bc2 == CH_LF )
225 { 225 {
226 onCtlChar( bc ); 226 onCtlChar( bc );
227 gotLine( sDataBuf ); 227 Bu::String sLine = sDataBuf;
228 sDataBuf.clear(); 228 sDataBuf.clear();
229 gotLine( sLine );
229 } 230 }
230 pClient->seek( 1 ); 231 pClient->seek( 1 );
231 } 232 }