From: Mark Michelson Date: Wed, 17 Dec 2008 17:53:37 +0000 (+0000) Subject: And actually assign the function to a pointer... X-Git-Tag: 1.6.2.0-beta1~572 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=93a51114cbbfa6cb321bef54d10726d763b56e9f;p=thirdparty%2Fasterisk.git And actually assign the function to a pointer... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165143 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 7286a7bd60..92fc41d8b7 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) {