diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 5 |
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 | ||
32 | void Connection::ensureCapacity( int nSize ) | ||
33 | { | ||
34 | xOutputBuf.ensureCapacity( nSize ); | ||
35 | } | ||
36 | |||
32 | bool Connection::appendOutput( const char *lpOutput, int nSize ) | 37 | bool Connection::appendOutput( const char *lpOutput, int nSize ) |
33 | { | 38 | { |
34 | return xOutputBuf.appendData( lpOutput, nSize ); | 39 | return xOutputBuf.appendData( lpOutput, nSize ); |