diff options
Diffstat (limited to 'examples/amqp_consumer.c')
-rw-r--r-- | examples/amqp_consumer.c | 2 |
1 files changed, 1 insertions, 1 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(); |