summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2014-08-12 11:17:20 +0000
committerJoshua Colp <jcolp@digium.com>2014-08-12 11:17:20 +0000
commita2bbe5d3601302fbe5eb59c44b0cb49651af84ff (patch)
treeecfc9bdaefef5d88ee1f125038bd20c186eca836 /apps/app_voicemail.c
parenta0b7f2ce42ee53367de4fe34ccce2e2bf7f86406 (diff)
app_voicemail: Fix the "test_voicemail_vm_info" unit test.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@420856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 439173049..c3cf36f24 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -14542,7 +14542,7 @@ AST_TEST_DEFINE(test_voicemail_vm_info)
populate_defaults(vmu);
- ast_copy_string(vmu->email, "vm-info-test@example.net", sizeof(vmu->email));
+ vmu->email = ast_strdup("vm-info-test@example.net");
ast_copy_string(vmu->fullname, "Test Framework Mailbox", sizeof(vmu->fullname));
ast_copy_string(vmu->pager, "vm-info-pager-test@example.net", sizeof(vmu->pager));
ast_copy_string(vmu->language, "en", sizeof(vmu->language));