summaryrefslogtreecommitdiff
path: root/examples/amqps_consumer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/amqps_consumer.c')
-rw-r--r--examples/amqps_consumer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqps_consumer.c b/examples/amqps_consumer.c
index 9a2ba36..17dfc7f 100644
--- a/examples/amqps_consumer.c
+++ b/examples/amqps_consumer.c
@@ -63,7 +63,7 @@ static void run(amqp_connection_state_t conn)
uint64_t now;
- while (1) {
+ for (;;) {
amqp_rpc_reply_t ret;
amqp_envelope_t envelope;