Skip to content
Snippets Groups Projects
Commit bd32cb4b authored by Alexandr Anikin's avatar Alexandr Anikin
Browse files

lc not found - it's warning, not error,

change malloc to ast_calloc again


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@307713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent eaf73d65
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ int ooCreateCallCmdConnection(OOH323CallData* call)
OOTRACEINFO2("INFO: create cmd connect for call: %lx\n", call);
call->CmdChanLock = malloc(sizeof(ast_mutex_t));
call->CmdChanLock = ast_calloc(1, sizeof(ast_mutex_t));
ast_mutex_init(call->CmdChanLock);
......
......@@ -124,7 +124,7 @@ OOLogicalChannel* ooFindLogicalChannelByLogicalChannelNo(OOH323CallData *call,
OOLogicalChannel *pLogicalChannel=NULL;
if(!call->logicalChans)
{
OOTRACEERR3("ERROR: No Open LogicalChannels - Failed "
OOTRACEWARN3("ERROR: No Open LogicalChannels - Failed "
"FindLogicalChannelByChannelNo (%s, %s\n", call->callType,
call->callToken);
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment