summaryrefslogtreecommitdiff
path: root/examples/amqp_unbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/amqp_unbind.c')
-rw-r--r--examples/amqp_unbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqp_unbind.c b/examples/amqp_unbind.c
index 4b92e12..b014067 100644
--- a/examples/amqp_unbind.c
+++ b/examples/amqp_unbind.c
@@ -94,7 +94,7 @@ int main(int argc, char const * const *argv) {
amqp_cstring_bytes(queue),
amqp_cstring_bytes(exchange),
amqp_cstring_bytes(bindingkey),
- AMQP_EMPTY_TABLE);
+ amqp_empty_table);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Unbinding");
die_on_amqp_error(amqp_channel_close(conn, 1, AMQP_REPLY_SUCCESS), "Closing channel");