[asterisk-commits] mmichelson: trunk r103902 - /trunk/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 20 15:08:46 CST 2008
Author: mmichelson
Date: Wed Feb 20 15:08:46 2008
New Revision: 103902
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103902
Log:
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
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=103902&r1=103901&r2=103902
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Wed Feb 20 15:08:46 2008
@@ -2827,7 +2827,7 @@
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;
More information about the asterisk-commits
mailing list