]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fixing a typo from a last minute refactor after fixing a bug
authorWilliam King <william.king@quentustech.com>
Thu, 23 Apr 2015 04:33:08 +0000 (21:33 -0700)
committerWilliam King <william.king@quentustech.com>
Thu, 23 Apr 2015 04:33:08 +0000 (21:33 -0700)
src/mod/event_handlers/mod_amqp/mod_amqp_connection.c

index 811bf8b3ba40136bf330c9b8b8683b7080311530..7aa30957658853113f188681c1cbd4544f315bb0 100644 (file)
@@ -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;
        }