summaryrefslogtreecommitdiff
path: root/main/manager.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-07-02 21:27:53 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-07-02 21:27:53 +0000
commit885d17506b04b9988a1e8c66b272ce7c67619377 (patch)
tree507f4c47c1aefc693554b8df76781b4c44b0f75a /main/manager.c
parent55e4daef88a20e99daa9a9729ad8728818602a40 (diff)
Keep ast_app_inboxcount API compatible with 1.6.0.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c
index 61d6da580..15fbbc841 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -2430,7 +2430,7 @@ static int action_mailboxcount(struct mansession *s, const struct message *m)
astman_send_error(s, m, "Mailbox not specified");
return 0;
}
- ast_app_inboxcount(mailbox, &urgentmsgs, &newmsgs, &oldmsgs);
+ ast_app_inboxcount2(mailbox, &urgentmsgs, &newmsgs, &oldmsgs);
astman_start_ack(s, m);
astman_append(s, "Message: Mailbox Message Count\r\n"
"Mailbox: %s\r\n"