diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2013-07-08 22:36:14 -0700 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2013-07-08 22:36:14 -0700 |
commit | 7a217d59484e405685426f9e7508b2e78280268d (patch) | |
tree | 4da3f8ce3edc81c4e9f33d19c25423ab0df7811f | |
parent | b0ab9412c3393560b226f605955d20df056d4798 (diff) | |
download | rabbitmq-c-7a217d59484e405685426f9e7508b2e78280268d.tar.gz |
FIX: Incorrect assert in wait_frame_inner
Probably introduced when consume_one_frame() function was added, and
wasn't found during testing because its rare to see partial recv of
frame when testing locally. Need to devise a test for this.
Fixes #126
-rw-r--r-- | librabbitmq/amqp_socket.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c index ef9debd..c3df367 100644 --- a/librabbitmq/amqp_socket.c +++ b/librabbitmq/amqp_socket.c @@ -693,9 +693,6 @@ static int wait_frame_inner(amqp_connection_state_t state, /* Complete frame was read. Return it. */ return AMQP_STATUS_OK; } - - /* Incomplete or ignored frame. Keep processing input. */ - assert(res != 0); } beginrecv: |