aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-17 17:53:37 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-17 17:53:37 +0000
commit2ec97c5841942a564ada9a11fe95caf2368702d2 (patch)
tree1c568babe7810315082ac5801a38beaff2639fad /apps/app_voicemail.c
parenta67d60989e96323ee5cb7f97896d852ebce9f26b (diff)
And actually assign the function to a pointer...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@165143 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
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) {