mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
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:
@@ -256,7 +256,7 @@ static void launch_monitor_thread(struct ast_channel *chan, const char *filename
|
||||
}
|
||||
|
||||
/* Move onto actually creating the filestream */
|
||||
mixmonitor->fs = ast_writefile(file_name, ext, NULL, oflags, 0, 0644);
|
||||
mixmonitor->fs = ast_writefile(file_name, ext, NULL, oflags, 0, AST_FILE_MODE);
|
||||
if (!mixmonitor->fs) {
|
||||
ast_log(LOG_ERROR, "Cannot open %s.%s\n", file_name, ext);
|
||||
free(mixmonitor);
|
||||
|
Reference in New Issue
Block a user