[svn-commits] russell: branch 1.4 r714 - /branches/1.4/channels/ooh323c/src/ooCmdChannel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 22 10:59:46 CST 2008


Author: russell
Date: Mon Dec 22 10:59:46 2008
New Revision: 714

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=714
Log:
Fix a bogus pthread_mutex_init()

(closes issue #14116)
Reported by: junky
Patches:
      mutex_init.diff uploaded by junky (license 177)

Modified:
    branches/1.4/channels/ooh323c/src/ooCmdChannel.c

Modified: branches/1.4/channels/ooh323c/src/ooCmdChannel.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.4/channels/ooh323c/src/ooCmdChannel.c?view=diff&rev=714&r1=713&r2=714
==============================================================================
--- branches/1.4/channels/ooh323c/src/ooCmdChannel.c (original)
+++ branches/1.4/channels/ooh323c/src/ooCmdChannel.c Mon Dec 22 10:59:46 2008
@@ -37,7 +37,7 @@
    if ((ret = pipe(thePipe)) == -1) {
       return OO_FAILED;
    }
-   pthread_mutex_init(&gCmdChanLock);
+   pthread_mutex_init(&gCmdChanLock, NULL);
 
    gH323ep.cmdSock = dup(thePipe[0]);
    close(thePipe[0]);




More information about the svn-commits mailing list