summaryrefslogtreecommitdiff
path: root/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'manager.c')
-rw-r--r--manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index 0a6b79469..a86cf58e3 100644
--- a/manager.c
+++ b/manager.c
@@ -1520,7 +1520,7 @@ static int action_mailboxcount(struct mansession *s, struct message *m)
astman_send_error(s, m, "Mailbox not specified");
return 0;
}
- ast_app_messagecount(mailbox, &newmsgs, &oldmsgs);
+ ast_app_inboxcount(mailbox, &newmsgs, &oldmsgs);
if (!ast_strlen_zero(id)) {
snprintf(idText, sizeof(idText), "ActionID: %s\r\n",id);
}