diff options
author | Joshua Colp <jcolp@digium.com> | 2014-08-12 11:18:17 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-08-12 11:18:17 +0000 |
commit | ca61f8ac82c8ef12890b3e0b8625035a6b109ed7 (patch) | |
tree | 4137cb53c8df9124124f30c1d882a6f2698920db /apps | |
parent | aba07a0f6e1d48d1487d97935638bddb12b92443 (diff) |
app_voicemail: Fix the "test_voicemail_vm_info" unit test.
........
Merged revisions 420856 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 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)); |