summaryrefslogtreecommitdiff
path: root/examples/amqp_listenq.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_listenq.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_listenq.c')
-rw-r--r--examples/amqp_listenq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqp_listenq.c b/examples/amqp_listenq.c
index 98c389f..18489da 100644
--- a/examples/amqp_listenq.c
+++ b/examples/amqp_listenq.c
@@ -90,7 +90,7 @@ int main(int argc, char const * const *argv) {
amqp_channel_open(conn, 1);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Opening channel");
- amqp_basic_consume(conn, 1, amqp_cstring_bytes(queuename), AMQP_EMPTY_BYTES, 0, 0, 0, AMQP_EMPTY_TABLE);
+ amqp_basic_consume(conn, 1, amqp_cstring_bytes(queuename), amqp_empty_bytes, 0, 0, 0, amqp_empty_table);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
{