Fixup vm user struct (bug #2472)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-09-20 21:16:00 +00:00
parent 49389bd690
commit 45a157ec0e

View File

@@ -3179,6 +3179,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
LOCAL_USER_ADD(u);
memset(&vms, 0, sizeof(vms));
memset(&vmus, 0, sizeof(vmus));
strncpy(fmtc, vmfmts, sizeof(fmtc) - 1);
if (chan->_state != AST_STATE_UP)
ast_answer(chan);