diff options
Diffstat (limited to 'tools/consume.c')
-rw-r--r-- | tools/consume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/consume.c b/tools/consume.c index 0d50228..146b0a7 100644 --- a/tools/consume.c +++ b/tools/consume.c @@ -131,7 +131,7 @@ static amqp_bytes_t setup_queue(amqp_connection_state_t conn, /* we should create the exchange */ if (!amqp_exchange_declare(conn, 1, eb, amqp_cstring_bytes(exchange_type), - 0, 0, 1, AMQP_EMPTY_TABLE)) + 0, 0, AMQP_EMPTY_TABLE)) die_rpc(amqp_get_rpc_reply(conn), "exchange.declare"); } |