From 93a51114cbbfa6cb321bef54d10726d763b56e9f Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 17 Dec 2008 17:53:37 +0000 Subject: And actually assign the function to a pointer... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165143 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_voicemail.c') diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 7286a7bd6..92fc41d8b 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1756,7 +1756,7 @@ static int messagecount(const char *context, const char *mailbox, const char *fo } if (!vms_p) { - create_vm_state_from_user(vmu); + vms_p = create_vm_state_from_user(vmu); } ret = init_mailstream(vms_p, fold); if (!vms_p->mailstream) { -- cgit v1.2.3