diff options
author | David Wragg <david@rabbitmq.com> | 2010-10-21 17:49:04 +0100 |
---|---|---|
committer | David Wragg <david@rabbitmq.com> | 2010-10-21 17:49:04 +0100 |
commit | 51345a3ded6ecd073921b7e83ec06bbd8988c345 (patch) | |
tree | aac2e1213ecf426d5e68e24ea08fcce8d7602289 /examples/amqp_listenq.c | |
parent | ba49cb334a0a9ff96956c22ea6eab8920123c6a2 (diff) | |
download | rabbitmq-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.c | 2 |
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"); { |