remove extra LOCAL_USER_REMOVE (bug #4308)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-05-17 17:19:53 +00:00
parent 376bc46af5
commit 5477aca22d

View File

@@ -5133,7 +5133,6 @@ static int vmauthenticate(struct ast_channel *chan, void *data)
if (!vm_authenticate(chan, mailbox, sizeof(mailbox), &vmus, context, NULL, 0, 3, silent)) {
pbx_builtin_setvar_helper(chan, "AUTH_MAILBOX", mailbox);
pbx_builtin_setvar_helper(chan, "AUTH_CONTEXT", vmus.context);
LOCAL_USER_REMOVE(u);
res = 0;
}