[asterisk-commits] may: trunk r307713 - in /trunk/addons/ooh323c/src: ooCmdChannel.c ooLogChan.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Feb 13 04:50:28 CST 2011
Author: may
Date: Sun Feb 13 04:50:22 2011
New Revision: 307713
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307713
Log:
lc not found - it's warning, not error,
change malloc to ast_calloc again
Modified:
trunk/addons/ooh323c/src/ooCmdChannel.c
trunk/addons/ooh323c/src/ooLogChan.c
Modified: trunk/addons/ooh323c/src/ooCmdChannel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooCmdChannel.c?view=diff&rev=307713&r1=307712&r2=307713
==============================================================================
--- trunk/addons/ooh323c/src/ooCmdChannel.c (original)
+++ trunk/addons/ooh323c/src/ooCmdChannel.c Sun Feb 13 04:50:22 2011
@@ -56,7 +56,7 @@
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);
Modified: trunk/addons/ooh323c/src/ooLogChan.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooLogChan.c?view=diff&rev=307713&r1=307712&r2=307713
==============================================================================
--- trunk/addons/ooh323c/src/ooLogChan.c (original)
+++ trunk/addons/ooh323c/src/ooLogChan.c Sun Feb 13 04:50:22 2011
@@ -124,7 +124,7 @@
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;
More information about the asterisk-commits
mailing list