diff options
author | Ivan Skytte Jørgensen <isj-nedit-dev@i1.dk> | 2015-10-17 15:16:26 +0200 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2015-10-18 22:22:12 -0700 |
commit | 55358b46c905a00fca64512ce529adc8b03b0aaf (patch) | |
tree | ffd682364400cf40e96a71007189ceccc8b70dcc | |
parent | 914c390813ad0bb3f60694085fccf320d4c0a024 (diff) | |
download | rabbitmq-c-55358b46c905a00fca64512ce529adc8b03b0aaf.tar.gz |
Lib: fix incorrect cast in amqp_login_inner()
Removed superfluous and suspicious cast in amqp_simple_rpc() call. 'replies' is
already a amqp_method_number_t*
-rw-r--r-- | librabbitmq/amqp_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c index f275816..439d18d 100644 --- a/librabbitmq/amqp_socket.c +++ b/librabbitmq/amqp_socket.c @@ -1414,7 +1414,7 @@ static amqp_rpc_reply_t amqp_login_inner(amqp_connection_state_t state, result = amqp_simple_rpc(state, 0, AMQP_CONNECTION_OPEN_METHOD, - (amqp_method_number_t *) &replies, + replies, &s); if (result.reply_type != AMQP_RESPONSE_NORMAL) { goto out; |