diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-07-31 21:39:27 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-07-31 21:39:27 +0000 |
| commit | 20f56a25bbce26c06338483067c13f7c18324864 (patch) | |
| tree | e39cd1bcd398188509164fcb0514bf0b9fd50f80 /cpp/src/qpid/client/TCPConnector.cpp | |
| parent | bba48e78662f3a3d87b3895e3006458ad204c268 (diff) | |
| download | qpid-python-20f56a25bbce26c06338483067c13f7c18324864.tar.gz | |
NO-JIRA: Removed unused return parameter
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1367790 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/TCPConnector.cpp')
| -rw-r--r-- | cpp/src/qpid/client/TCPConnector.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/TCPConnector.cpp b/cpp/src/qpid/client/TCPConnector.cpp index 7b2ef648be..1dd951d339 100644 --- a/cpp/src/qpid/client/TCPConnector.cpp +++ b/cpp/src/qpid/client/TCPConnector.cpp @@ -266,7 +266,7 @@ size_t TCPConnector::encode(const char* buffer, size_t size) return bytesWritten; } -bool TCPConnector::readbuff(AsynchIO& aio, AsynchIO::BufferBase* buff) +void TCPConnector::readbuff(AsynchIO& aio, AsynchIO::BufferBase* buff) { Codec* codec = securityLayer.get() ? (Codec*) securityLayer.get() : (Codec*) this; int32_t decoded = codec->decode(buff->bytes+buff->dataStart, buff->dataCount); @@ -281,10 +281,9 @@ bool TCPConnector::readbuff(AsynchIO& aio, AsynchIO::BufferBase* buff) // Give whole buffer back to aio subsystem aio.queueReadBuffer(buff); } - return true; } -size_t TCPConnector::decode(const char* buffer, size_t size) +size_t TCPConnector::decode(const char* buffer, size_t size) { framing::Buffer in(const_cast<char*>(buffer), size); if (!initiated) { |
