summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-04-13 14:35:43 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-04-13 14:35:43 +0000
commitdc3e185e96ddd0d9240d5e605edc7ce5ae5f03eb (patch)
tree9ff6352ca968979f7483de6025dff27a370e914a
parent5110d3bc69e63fe34f9efd6711ec7dad578d2ee2 (diff)
Use ast_mkdir instead of mkdir
(Closes issue #12430) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--apps/app_meetme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index d37b00a30..5f265a1d7 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -1698,7 +1698,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;
}