diff options
author | David Wragg <david@rabbitmq.com> | 2010-07-26 03:09:38 +0100 |
---|---|---|
committer | David Wragg <david@rabbitmq.com> | 2010-07-26 03:09:38 +0100 |
commit | 7290a2692cd0f597573de51599c9b50088c02f90 (patch) | |
tree | 39866d75e726fe2817030e4205f68831b63d3551 /tools | |
parent | 6cc7fe86a01628483646a0b1eca423a9d8a34025 (diff) | |
download | rabbitmq-c-github-ask-7290a2692cd0f597573de51599c9b50088c02f90.tar.gz |
Fold amqp_end_connection socket closing into amqp_destroy_connection
Diffstat (limited to 'tools')
-rw-r--r-- | tools/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/common.c b/tools/common.c index 39099c1..1d8fbd8 100644 --- a/tools/common.c +++ b/tools/common.c @@ -236,7 +236,7 @@ void close_connection(amqp_connection_state_t conn) die_rpc(amqp_connection_close(conn, AMQP_REPLY_SUCCESS), "closing connection"); - res = amqp_end_connection(conn); + res = amqp_destroy_connection(conn); die_amqp_error(-res, "closing connection"); } |