From b01352c13373444856b2354323f739a25fe898aa Mon Sep 17 00:00:00 2001 From: William King Date: Wed, 22 Apr 2015 21:33:08 -0700 Subject: [PATCH] Fixing a typo from a last minute refactor after fixing a bug --- src/mod/event_handlers/mod_amqp/mod_amqp_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_amqp/mod_amqp_connection.c b/src/mod/event_handlers/mod_amqp/mod_amqp_connection.c index 811bf8b3ba..7aa3095765 100644 --- a/src/mod/event_handlers/mod_amqp/mod_amqp_connection.c +++ b/src/mod/event_handlers/mod_amqp/mod_amqp_connection.c @@ -148,7 +148,7 @@ switch_status_t mod_amqp_connection_open(mod_amqp_connection_t *connections, mod connection_attempt->password); if (mod_amqp_log_if_amqp_error(status, "Logging in")) { - mod_amqp_close_connection(*active); + mod_amqp_connection_close(*active); *active = NULL; return SWITCH_STATUS_GENERR; }