aboutsummaryrefslogtreecommitdiffstats
path: root/addons/ooh323c
diff options
context:
space:
mode:
Diffstat (limited to 'addons/ooh323c')
-rw-r--r--addons/ooh323c/src/ooCmdChannel.c2
-rw-r--r--addons/ooh323c/src/ooLogChan.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/ooh323c/src/ooCmdChannel.c b/addons/ooh323c/src/ooCmdChannel.c
index d88ac7942..ff3988273 100644
--- a/addons/ooh323c/src/ooCmdChannel.c
+++ b/addons/ooh323c/src/ooCmdChannel.c
@@ -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);
diff --git a/addons/ooh323c/src/ooLogChan.c b/addons/ooh323c/src/ooLogChan.c
index b230edef4..c3b5c8fee 100644
--- a/addons/ooh323c/src/ooLogChan.c
+++ b/addons/ooh323c/src/ooLogChan.c
@@ -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;