aboutsummaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index a5fac5b..f042705 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -29,6 +29,11 @@ Connection::~Connection()
29 if( pProtocol != NULL ) delete pProtocol; 29 if( pProtocol != NULL ) delete pProtocol;
30} 30}
31 31
32void Connection::ensureCapacity( int nSize )
33{
34 xOutputBuf.ensureCapacity( nSize );
35}
36
32bool Connection::appendOutput( const char *lpOutput, int nSize ) 37bool Connection::appendOutput( const char *lpOutput, int nSize )
33{ 38{
34 return xOutputBuf.appendData( lpOutput, nSize ); 39 return xOutputBuf.appendData( lpOutput, nSize );