From: Joshua Colp Date: Tue, 12 Aug 2014 11:17:20 +0000 (+0000) Subject: app_voicemail: Fix the "test_voicemail_vm_info" unit test. X-Git-Tag: 13.0.0-beta2~2^2~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2bbe5d3601302fbe5eb59c44b0cb49651af84ff;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 439173049f..c3cf36f242 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));