diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-13 14:38:35 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-13 14:38:35 +0000 |
commit | a9af38b9770acc53cbbdee0f2d549edd141569fc (patch) | |
tree | 8470621e8423f078a0e8ee72f99fe2c4789e9b46 /apps | |
parent | ab7ee70016abbf7c19b204227c3de99717f55458 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@114097 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_meetme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f7b010ee2..5e72096e7 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -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; } |