summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/app.c2
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);
}