diff options
author | David Wragg <david@rabbitmq.com> | 2011-07-05 16:15:30 +0100 |
---|---|---|
committer | David Wragg <david@rabbitmq.com> | 2011-07-05 16:15:30 +0100 |
commit | c39509ffdf2f01fdac4ef95606c105e73af208cc (patch) | |
tree | 9fe3c16039562487ff7da4e5d8d5a14aa66ea918 /examples | |
parent | a8e182de64acafd27fd870692ff6cd6678726ead (diff) | |
download | rabbitmq-c-github-ask-c39509ffdf2f01fdac4ef95606c105e73af208cc.tar.gz |
Remove trailing whitespace
Diffstat (limited to 'examples')
-rw-r--r-- | examples/amqp_consumer.c | 2 | ||||
-rw-r--r-- | examples/amqp_listen.c | 2 | ||||
-rw-r--r-- | examples/amqp_listenq.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/amqp_consumer.c b/examples/amqp_consumer.c index 882bb8c..0a4d800 100644 --- a/examples/amqp_consumer.c +++ b/examples/amqp_consumer.c @@ -92,7 +92,7 @@ static void run(amqp_connection_state_t conn) result = amqp_simple_wait_frame(conn, &frame); if (result < 0) return; - + if (frame.frame_type != AMQP_FRAME_HEADER) { fprintf(stderr, "Expected header!"); abort(); 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); diff --git a/examples/amqp_listenq.c b/examples/amqp_listenq.c index 0223d81..7a22338 100644 --- a/examples/amqp_listenq.c +++ b/examples/amqp_listenq.c @@ -133,7 +133,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); |