From: William King Date: Wed, 14 Nov 2012 00:56:58 +0000 (-0800) Subject: This fixes multiple issues dealing with sms from registered endpoints to other destin... X-Git-Tag: v1.3.4~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fffdc29365840fc0c0e4914d70902c0dbfd058b;p=thirdparty%2Ffreeswitch.git This fixes multiple issues dealing with sms from registered endpoints to other destinations. --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index d87d37f7fc..26e93a8071 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -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);