summaryrefslogtreecommitdiff
path: root/qpid/cpp
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
commit38d7f7c2d0100ea9c9fe7a606ef4a743af5fbf32 (patch)
treec74fb8ef26f2aa444084c725f2a65a78626ab4c7 /qpid/cpp
parent25acaed2551df8dbf304caf7e2c9a1eaac5bf143 (diff)
downloadqpid-python-38d7f7c2d0100ea9c9fe7a606ef4a743af5fbf32.tar.gz
Remove bad assert
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@465428 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/io/APRSocket.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/io/APRSocket.cpp b/qpid/cpp/src/qpid/io/APRSocket.cpp
index c142b04df3..80fb642c8e 100644
--- a/qpid/cpp/src/qpid/io/APRSocket.cpp
+++ b/qpid/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);
}