mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* "tech/tele,filename&" ie. "tor1/23,file&"
|
||||
*/
|
||||
|
||||
#include <asterisk/lock.h>
|
||||
#include <asterisk/file.h>
|
||||
#include <asterisk/logger.h>
|
||||
#include <asterisk/channel.h>
|
||||
@@ -244,7 +245,7 @@ int unload_module(void)
|
||||
int load_module(void)
|
||||
{
|
||||
int val;
|
||||
if((val=mkfifo(dialfile,O_RDWR))){
|
||||
if((val=mkfifo(dialfile, 0700))){
|
||||
if(errno!=EEXIST){
|
||||
printf("Error:%d Creating Autodial FIFO\n",errno);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user