aboutsummaryrefslogtreecommitdiffstats
path: root/addons/ooh323c
diff options
context:
space:
mode:
authormay <may@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-13 10:50:22 +0000
committermay <may@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-13 10:50:22 +0000
commit7cc38486afb47c7dc53b1f983a48548a9e4a9de3 (patch)
tree5b9c46d089726ae4edb88c690ca35bfabb334324 /addons/ooh323c
parent700abad11b04af906f6d8a2ec21bb4c11dc5bbe5 (diff)
lc not found - it's warning, not error,
change malloc to ast_calloc again git-svn-id: http://svn.digium.com/svn/asterisk/trunk@307713 f38db490-d61c-443f-a65b-d21fe96a405b
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;