diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/io/APRSocket.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/io/APRSocket.cpp b/cpp/src/qpid/io/APRSocket.cpp index c142b04df3..80fb642c8e 100644 --- a/cpp/src/qpid/io/APRSocket.cpp +++ b/cpp/src/qpid/io/APRSocket.cpp @@ -44,9 +44,8 @@ void APRSocket::write(qpid::framing::Buffer& buffer){ apr_size_t bytes; do{ bytes = buffer.available(); - apr_status_t s = apr_socket_send(socket, buffer.start(), &bytes); - // TODO aconway 2006-10-05: better error handling - assert(s == 0); + apr_socket_send(socket, buffer.start(), &bytes); + // TODO aconway 2006-10-05: why don't we check status here? buffer.move(bytes); }while(bytes > 0); } |