diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-20 21:08:46 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-20 21:08:46 +0000 |
commit | 5f1abd1393ef7dbd86ff36c78a9baa2695224d96 (patch) | |
tree | 50af9965182af84821f5301989893648f7e6f4c4 /apps | |
parent | d2610ce4ab961ba03e7dcce3f15b2b7d876d22df (diff) |
Fix a crash due to the wrong variable being used when building a directory string.
(closes issue #12027)
Reported by: jaroth
Patches:
forward.patch uploaded by jaroth (license 50)
Tested by: jaroth
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103902 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index ddf2431b0..76b280539 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2827,7 +2827,7 @@ static int copy_message(struct ast_channel *chan, struct ast_vm_user *vmu, int i ast_copy_string(fromdir, dir, sizeof(fromdir)); make_file(frompath, sizeof(frompath), fromdir, msgnum); - make_dir(todir, sizeof(todir), recip->context, recip->mailbox, frombox); + make_dir(todir, sizeof(todir), recip->context, recip->mailbox, "INBOX"); if (vm_lock_path(todir)) return ERROR_LOCK_PATH; |