dect
/
asterisk
Archived
13
0
Fork 0

Fix seg in authenticate (bug #3686)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5109 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2005-03-01 04:47:33 +00:00
parent 803878b54e
commit 9da1ade23d
1 changed files with 1 additions and 1 deletions

View File

@ -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;