]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
This fixes multiple issues dealing with sms from registered endpoints to other destin...
authorWilliam King <william.king@quentustech.com>
Wed, 14 Nov 2012 00:56:58 +0000 (16:56 -0800)
committerWilliam King <william.king@quentustech.com>
Wed, 14 Nov 2012 00:56:58 +0000 (16:56 -0800)
src/switch_loadable_module.c

index d87d37f7fc4d89809e4b647c97c5490902b9cd3f..26e93a8071f8c3c5dc31347f22457cb0471afe66 100644 (file)
@@ -1766,8 +1766,8 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init(switch_bool_t autolo
 
        switch_loadable_module_runtime();
 
-       chat_globals.running = 1;
        memset(&chat_globals, 0, sizeof(chat_globals));
+       chat_globals.running = 1;
        chat_globals.pool = loadable_modules.pool;
        switch_mutex_init(&chat_globals.mutex, SWITCH_MUTEX_NESTED, chat_globals.pool);