aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-13 14:35:43 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-13 14:35:43 +0000
commit43728f9a346f9aab3b67128a3f8b6b6735e27d0b (patch)
tree9ff6352ca968979f7483de6025dff27a370e914a /apps/app_meetme.c
parent4b1dbaaa30ea804b91114f8f5aa3c9d1668210e9 (diff)
Use ast_mkdir instead of mkdir
(Closes issue #12430) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114096 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-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;
}