提交 2ca25638 authored 作者: Łukasz Zwierko's avatar Łukasz Zwierko

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6117 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ec8d21a7
...@@ -105,16 +105,14 @@ bool FSOpalManager::initialize( ...@@ -105,16 +105,14 @@ bool FSOpalManager::initialize(
switch_memory_pool_t* i_memoryPool, switch_memory_pool_t* i_memoryPool,
switch_endpoint_interface_t *i_endpointInterface switch_endpoint_interface_t *i_endpointInterface
) )
{ {
/* check if not initialized */ /* check if not initialized */
assert(m_isInitialized); assert(!m_isInitialized);
/* check input parameters */ /* check input parameters */
assert(i_modName); assert(i_modName);
assert(i_memoryPool); assert(i_memoryPool);
assert(i_endpointInterface); assert(i_endpointInterface);
m_pModuleName = i_modName; m_pModuleName = i_modName;
m_pMemoryPool = i_memoryPool; m_pMemoryPool = i_memoryPool;
m_pH323EndpointInterface = i_endpointInterface; m_pH323EndpointInterface = i_endpointInterface;
...@@ -126,7 +124,7 @@ bool FSOpalManager::initialize( ...@@ -126,7 +124,7 @@ bool FSOpalManager::initialize(
*/ */
if(switch_core_hash_init(&m_pSessionsHashTable,m_pMemoryPool)!=SWITCH_STATUS_SUCCESS) if(switch_core_hash_init(&m_pSessionsHashTable,m_pMemoryPool)!=SWITCH_STATUS_SUCCESS)
{ {
assert(0); assert(0);
return false; return false;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论