[asterisk-commits] file: branch 13 r420856 - /branches/13/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 12 06:17:27 CDT 2014


Author: file
Date: Tue Aug 12 06:17:20 2014
New Revision: 420856

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=420856
Log:
app_voicemail: Fix the "test_voicemail_vm_info" unit test.

Modified:
    branches/13/apps/app_voicemail.c

Modified: branches/13/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/apps/app_voicemail.c?view=diff&rev=420856&r1=420855&r2=420856
==============================================================================
--- branches/13/apps/app_voicemail.c (original)
+++ branches/13/apps/app_voicemail.c Tue Aug 12 06:17:20 2014
@@ -14542,7 +14542,7 @@
 
 	populate_defaults(vmu);
 
-	ast_copy_string(vmu->email, "vm-info-test at example.net", sizeof(vmu->email));
+	vmu->email = ast_strdup("vm-info-test at example.net");
 	ast_copy_string(vmu->fullname, "Test Framework Mailbox", sizeof(vmu->fullname));
 	ast_copy_string(vmu->pager, "vm-info-pager-test at example.net", sizeof(vmu->pager));
 	ast_copy_string(vmu->language, "en", sizeof(vmu->language));




More information about the asterisk-commits mailing list