mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
Don't close audio[0] if you're not careful
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+4
-2
@@ -168,8 +168,10 @@ static int launch_script(char *script, char *args, int *fds, int *efd, int *opid
|
||||
close(toast[1]);
|
||||
close(fromast[0]);
|
||||
|
||||
// [PHM 12/18/03]
|
||||
close(audio[0]);
|
||||
if (efd) {
|
||||
// [PHM 12/18/03]
|
||||
close(audio[0]);
|
||||
}
|
||||
|
||||
*opid = pid;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user