summaryrefslogtreecommitdiff
path: root/examples/amqp_bind.c
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
committerDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
commit51345a3ded6ecd073921b7e83ec06bbd8988c345 (patch)
treeaac2e1213ecf426d5e68e24ea08fcce8d7602289 /examples/amqp_bind.c
parentba49cb334a0a9ff96956c22ea6eab8920123c6a2 (diff)
downloadrabbitmq-c-github-ask-51345a3ded6ecd073921b7e83ec06bbd8988c345.tar.gz
Eliminate the AMQP_EMPTY_* macros from amqp.h
Hooray, amqp.h is now ISO C90 clean.
Diffstat (limited to 'examples/amqp_bind.c')
-rw-r--r--examples/amqp_bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqp_bind.c b/examples/amqp_bind.c
index 1f183a5..8ffda3f 100644
--- a/examples/amqp_bind.c
+++ b/examples/amqp_bind.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");