cbee4e0946
Requires a patch to pthread call. Signed-off-by: Michael Geddes <michael at frog dot wheelycreek dot net> git-svn-id: svn://svn.openwrt.org/openwrt/packages@12795 3c298f89-4303-0410-b956-a3cf2f4a3e73
20 lines
613 B
Diff
20 lines
613 B
Diff
*** asterisk-addons-1.4.7/channels/ooh323c/src/ooCmdChannel.c.orig 2008-06-27 18:12:50.000000000 +0800
|
|
--- asterisk-addons-1.4.7/channels/ooh323c/src/ooCmdChannel.c 2008-06-27 18:12:11.000000000 +0800
|
|
***************
|
|
*** 37,43 ****
|
|
if ((ret = pipe(thePipe)) == -1) {
|
|
return OO_FAILED;
|
|
}
|
|
! pthread_mutex_init(&gCmdChanLock);
|
|
|
|
gH323ep.cmdSock = dup(thePipe[0]);
|
|
close(thePipe[0]);
|
|
--- 37,43 ----
|
|
if ((ret = pipe(thePipe)) == -1) {
|
|
return OO_FAILED;
|
|
}
|
|
! pthread_mutex_init(&gCmdChanLock, NULL);
|
|
|
|
gH323ep.cmdSock = dup(thePipe[0]);
|
|
close(thePipe[0]);
|