diff options
Diffstat (limited to 'examples/amqp_listen.c')
-rw-r--r-- | examples/amqp_listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqp_listen.c b/examples/amqp_listen.c index e6e4edd..c4e9a5a 100644 --- a/examples/amqp_listen.c +++ b/examples/amqp_listen.c @@ -152,7 +152,7 @@ int main(int argc, char const * const *argv) { if (frame.frame_type != AMQP_FRAME_BODY) { fprintf(stderr, "Expected body!"); abort(); - } + } body_received += frame.payload.body_fragment.len; assert(body_received <= body_target); |