summaryrefslogtreecommitdiff
path: root/examples/amqps_listenq.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/amqps_listenq.c')
-rw-r--r--examples/amqps_listenq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqps_listenq.c b/examples/amqps_listenq.c
index 7b26ce1..7095686 100644
--- a/examples/amqps_listenq.c
+++ b/examples/amqps_listenq.c
@@ -115,7 +115,7 @@ int main(int argc, char const *const *argv)
die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
{
- while (1) {
+ for (;;) {
amqp_rpc_reply_t res;
amqp_envelope_t envelope;