Oops
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 2 Jul 2008 22:17:37 +0000 (22:17 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 2 Jul 2008 22:17:37 +0000 (22:17 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127622 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 54f7b03..b4bf6ad 100644 (file)
@@ -3630,7 +3630,7 @@ static int inboxcount2(const char *mailbox, int *urgentmsgs, int *newmsgs, int *
                mb = tmp;
                while ((cur = strsep(&mb, ", "))) {
                        if (!ast_strlen_zero(cur)) {
-                               if (inboxcount(cur, urgentmsgs ? &tmpurgent : NULL, newmsgs ? &tmpnew : NULL, oldmsgs ? &tmpold : NULL))
+                               if (inboxcount2(cur, urgentmsgs ? &tmpurgent : NULL, newmsgs ? &tmpnew : NULL, oldmsgs ? &tmpold : NULL))
                                        return -1;
                                else {
                                        if (newmsgs)