diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-07-20 12:36:51 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-07-20 12:36:51 +0100 |
commit | b339e621a8a85fbd749fdb499161320abed5ebb3 (patch) | |
tree | cc532b0eb4cdf9f8da526713ac3d17c656887b49 | |
parent | e51847cb8be57a80728a03110ba27b078eb37984 (diff) | |
download | rabbitmq-c-github-ask-amqp_0_9_1.tar.gz |
Fix build after protocol JSON file changed.amqp_0_9_1
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | librabbitmq/amqp_socket.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 7ec107a..593b309 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ AC_ARG_ENABLE(64-bit, AC_MSG_CHECKING(location of AMQP codegen directory) sibling_codegen_dir="$ac_abs_confdir/../rabbitmq-codegen" AMQP_CODEGEN_DIR=$(test -d "$sibling_codegen_dir" && echo "$sibling_codegen_dir" || echo "$ac_abs_confdir/codegen") -AMQP_SPEC_JSON_PATH="$AMQP_CODEGEN_DIR/amqp-0.9.1.json" +AMQP_SPEC_JSON_PATH="$AMQP_CODEGEN_DIR/amqp-rabbitmq-0.9.1.json" if test -f "$AMQP_SPEC_JSON_PATH" then diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c index 7fc344d..17805fa 100644 --- a/librabbitmq/amqp_socket.c +++ b/librabbitmq/amqp_socket.c @@ -472,8 +472,8 @@ amqp_rpc_reply_t amqp_login(amqp_connection_state_t state, amqp_connection_open_t s = (amqp_connection_open_t) { .virtual_host = amqp_cstring_bytes(vhost), - .deprecated_capabilities = {.len = 0, .bytes = NULL}, - .deprecated_insist = 1 + .capabilities = {.len = 0, .bytes = NULL}, + .insist = 1 }; amqp_method_number_t replies[] = { AMQP_CONNECTION_OPEN_OK_METHOD, 0 }; result = amqp_simple_rpc(state, |