Fixup vm user struct (bug #2472)
authorMark Spencer <markster@digium.com>
Mon, 20 Sep 2004 21:16:00 +0000 (21:16 +0000)
committerMark Spencer <markster@digium.com>
Mon, 20 Sep 2004 21:16:00 +0000 (21:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3812 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 6c36022..fe13a7f 100755 (executable)
@@ -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);