projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5110d3b
)
Use ast_mkdir instead of mkdir
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Sun, 13 Apr 2008 14:35:43 +0000
(14:35 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Sun, 13 Apr 2008 14:35:43 +0000
(14:35 +0000)
(Closes issue #12430)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114096
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_meetme.c
patch
|
blob
|
history
diff --git
a/apps/app_meetme.c
b/apps/app_meetme.c
index
d37b00a
..
5f265a1
100644
(file)
--- 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;
}