diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-01 04:47:33 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-01 04:47:33 +0000 |
commit | 9da1ade23d365957efad4631f4af9c08ca9630b2 (patch) | |
tree | ec67c04c820de000bf0c5d073b66faf6d9b0e996 /apps | |
parent | 803878b54e7df4ebddc7ba22965c81d98380b402 (diff) |
Fix seg in authenticate (bug #3686)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5109 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | 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 090ad2504..021b59aba 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4452,7 +4452,7 @@ static int vm_authenticate(struct ast_channel *chan, char *mailbox, int mailbox_ ast_play_and_wait(chan, "vm-goodbye"); return -1; } - if (!skipuser) { + if (vmu && !skipuser) { memcpy(res_vmu, vmu, sizeof(struct ast_vm_user)); } return 0; |