mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 02:48:29 +00:00
Merged revisions 114096 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r114096 | tilghman | 2008-04-13 09:35:43 -0500 (Sun, 13 Apr 2008) | 3 lines Use ast_mkdir instead of mkdir (Closes issue #12430) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1699,7 +1699,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
|
||||
|
||||
snprintf(destdir, sizeof(destdir), "%s/meetme", ast_config_AST_SPOOL_DIR);
|
||||
|
||||
if (mkdir(destdir, 0777) && errno != EEXIST) {
|
||||
if (ast_mkdir(destdir, 0777) != 0) {
|
||||
ast_log(LOG_WARNING, "mkdir '%s' failed: %s\n", destdir, strerror(errno));
|
||||
goto outrun;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user