summaryrefslogtreecommitdiff
path: root/examples/amqp_exchange_declare.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/amqp_exchange_declare.c')
-rw-r--r--examples/amqp_exchange_declare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqp_exchange_declare.c b/examples/amqp_exchange_declare.c
index 27bff1a..e77ac52 100644
--- a/examples/amqp_exchange_declare.c
+++ b/examples/amqp_exchange_declare.c
@@ -89,7 +89,7 @@ int main(int argc, char const * const *argv) {
die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
amqp_exchange_declare(conn, 1, amqp_cstring_bytes(exchange), amqp_cstring_bytes(exchangetype),
- 0, 0, 0, AMQP_EMPTY_TABLE);
+ 0, 0, AMQP_EMPTY_TABLE);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Declaring exchange");
die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS), "Closing channel");