a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Steve Murphy
2006-12-21 19:44:20 +00:00
parent a2e6c6277f
commit 7b338004bf
19 changed files with 36 additions and 26 deletions

View File

@@ -2874,7 +2874,7 @@ static void *recordthread(void *args)
break;
}
if (!s && cnf->recordingfilename && (cnf->recordingfilename != oldrecordingfilename)) {
s = ast_writefile(cnf->recordingfilename, cnf->recordingformat, NULL, flags, 0, 0644);
s = ast_writefile(cnf->recordingfilename, cnf->recordingformat, NULL, flags, 0, AST_FILE_MODE);
oldrecordingfilename = cnf->recordingfilename;
}