From: William King Date: Thu, 23 Apr 2015 04:33:08 +0000 (-0700) Subject: Fixing a typo from a last minute refactor after fixing a bug X-Git-Tag: v1.4.19~6^2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b01352c13373444856b2354323f739a25fe898aa;p=thirdparty%2Ffreeswitch.git Fixing a typo from a last minute refactor after fixing a bug --- 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; }