[asterisk-commits] may: branch may/ooh323_ipv6 r307714 - in /team/may/ooh323_ipv6: ./ addons/ooh...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Feb 13 04:52:08 CST 2011


Author: may
Date: Sun Feb 13 04:52:04 2011
New Revision: 307714

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307714
Log:
Merged revisions 307713 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r307713 | may | 2011-02-13 13:50:22 +0300 (Sun, 13 Feb 2011) | 3 lines
  
  lc not found - it's warning,  not error,
  change malloc to ast_calloc again
........

Modified:
    team/may/ooh323_ipv6/   (props changed)
    team/may/ooh323_ipv6/addons/ooh323c/src/ooCmdChannel.c
    team/may/ooh323_ipv6/addons/ooh323c/src/ooLogChan.c

Propchange: team/may/ooh323_ipv6/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Sun Feb 13 04:52:04 2011
@@ -1,1 +1,1 @@
-/trunk:1-307677
+/trunk:1-307713

Modified: team/may/ooh323_ipv6/addons/ooh323c/src/ooCmdChannel.c
URL: http://svnview.digium.com/svn/asterisk/team/may/ooh323_ipv6/addons/ooh323c/src/ooCmdChannel.c?view=diff&rev=307714&r1=307713&r2=307714
==============================================================================
--- team/may/ooh323_ipv6/addons/ooh323c/src/ooCmdChannel.c (original)
+++ team/may/ooh323_ipv6/addons/ooh323c/src/ooCmdChannel.c Sun Feb 13 04:52:04 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: team/may/ooh323_ipv6/addons/ooh323c/src/ooLogChan.c
URL: http://svnview.digium.com/svn/asterisk/team/may/ooh323_ipv6/addons/ooh323c/src/ooLogChan.c?view=diff&rev=307714&r1=307713&r2=307714
==============================================================================
--- team/may/ooh323_ipv6/addons/ooh323c/src/ooLogChan.c (original)
+++ team/may/ooh323_ipv6/addons/ooh323c/src/ooLogChan.c Sun Feb 13 04:52:04 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