diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-12-17 17:53:37 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-12-17 17:53:37 +0000 |
commit | 93a51114cbbfa6cb321bef54d10726d763b56e9f (patch) | |
tree | 1c568babe7810315082ac5801a38beaff2639fad /apps/app_voicemail.c | |
parent | d0671d8d30dde25191dfd8e708f8284435b63341 (diff) |
And actually assign the function to a pointer...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |