Index: main/app.c =================================================================== --- main/app.c (revision 362078) +++ main/app.c (working copy) @@ -396,7 +396,7 @@ if (urgentmsgs) { *urgentmsgs = 0; } - if (ast_inboxcount_func) { + if (ast_inboxcount2_func) { return ast_inboxcount2_func(mailbox, urgentmsgs, newmsgs, oldmsgs); }