diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-22 04:35:12 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-22 04:35:12 +0000 |
commit | ed2b193e6c6d0cce882796969369e305075103e0 (patch) | |
tree | 45f02eef0ac120e193459b71f73a7b62b7db8784 /apps/app_dictate.c | |
parent | de3fbdf9699a307db497cd68d3d9d044936d7b4f (diff) |
Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71040 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dictate.c')
-rw-r--r-- | apps/app_dictate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dictate.c b/apps/app_dictate.c index c501b3f78..61252433d 100644 --- a/apps/app_dictate.c +++ b/apps/app_dictate.c @@ -139,7 +139,7 @@ static int dictate_exec(struct ast_channel *chan, void *data) ast_copy_string(filein, filename, sizeof(filein)); filename = ""; } - mkdir(base, 0755); + ast_mkdir(base, 0755); len = strlen(base) + strlen(filein) + 2; if (!path || len > maxlen) { path = alloca(len); |