diff options
author | Jonathan Rose <jrose@digium.com> | 2012-05-01 18:29:58 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2012-05-01 18:29:58 +0000 |
commit | cefff2e52cee70e6c75e6fd3625348a96ead59d0 (patch) | |
tree | cb0617ba552a198d71318b5c4288889a682f825d /main | |
parent | 6eb1ea3b799f2c3b48532549ba239b1ce1253ccc (diff) |
Fix bad check in voicemail functions for ast_inboxcount2_func
Check looks for ast_inboxcount_func instead of ast_inboxcount2_func on
ast_inboxcount2_func calls.
(closes issue ASTERISK-19718)
Reported by: Corey Farrell
Patches:
ast_app_inboxcount2-null-refcheck.patch uploaded by Corey Farrell (license 5909)
........
Merged revisions 364769 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 364777 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@364785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c index 2bcf5f38f..c37279658 100644 --- a/main/app.c +++ b/main/app.c @@ -492,7 +492,7 @@ int ast_app_inboxcount2(const char *mailbox, int *urgentmsgs, int *newmsgs, int if (urgentmsgs) { *urgentmsgs = 0; } - if (ast_inboxcount_func) { + if (ast_inboxcount2_func) { return ast_inboxcount2_func(mailbox, urgentmsgs, newmsgs, oldmsgs); } |