summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-18 23:51:15 +0000
committerAlan Conway <aconway@apache.org>2006-10-18 23:51:15 +0000
commit0bb663e29bc993e94171be1427c5686702bde091 (patch)
tree2384afd268d4db3df081651e1c3ade7e7580f274 /cpp/src/qpid
parent9b7ec1df0189d4557d51bc6220931f9d641ecdf5 (diff)
downloadqpid-python-0bb663e29bc993e94171be1427c5686702bde091.tar.gz
Remove bad assert
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465428 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r--cpp/src/qpid/io/APRSocket.cpp5
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);
}