summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-09 15:21:05 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-09 15:21:05 +0100
commit731c5101b94d9ba35dbe6e4968e572656da3fdba (patch)
tree5336204bbaab8611bbc9e48120e680b1c15945bc /examples
parent7478207a21fc2e1e7aea5306762578f2992ccb42 (diff)
parent7478207a21fc2e1e7aea5306762578f2992ccb42 (diff)
downloadrabbitmq-c-github-ask-731c5101b94d9ba35dbe6e4968e572656da3fdba.tar.gz
this branch is default with amqp_0_9_1 merged in; everything seems to work fine
Diffstat (limited to 'examples')
-rw-r--r--examples/amqp_consumer.c2
-rw-r--r--examples/amqp_listen.c2
-rw-r--r--examples/amqp_listenq.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/amqp_consumer.c b/examples/amqp_consumer.c
index aa33639..a8ed9e3 100644
--- a/examples/amqp_consumer.c
+++ b/examples/amqp_consumer.c
@@ -173,7 +173,7 @@ int main(int argc, char const * const *argv) {
AMQP_EMPTY_TABLE);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Binding queue");
- amqp_basic_consume(conn, 1, queuename, AMQP_EMPTY_BYTES, 0, 1, 0);
+ amqp_basic_consume(conn, 1, queuename, AMQP_EMPTY_BYTES, 0, 1, 0, AMQP_EMPTY_TABLE);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
run(conn);
diff --git a/examples/amqp_listen.c b/examples/amqp_listen.c
index 0162ce6..448ced1 100644
--- a/examples/amqp_listen.c
+++ b/examples/amqp_listen.c
@@ -109,7 +109,7 @@ int main(int argc, char const * const *argv) {
AMQP_EMPTY_TABLE);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Binding queue");
- amqp_basic_consume(conn, 1, queuename, AMQP_EMPTY_BYTES, 0, 1, 0);
+ amqp_basic_consume(conn, 1, queuename, AMQP_EMPTY_BYTES, 0, 1, 0, AMQP_EMPTY_TABLE);
die_on_amqp_error(amqp_get_rpc_reply(conn), "Consuming");
{
diff --git a/examples/amqp_listenq.c b/examples/amqp_listenq.c
index 9100dec..0057826 100644
--- a/examples/amqp_listenq.c
+++ b/examples/amqp_listenq.c
@@ -91,7 +91,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_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");
{