]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Removing some extra debug code I left in my last commit
authorMark Michelson <mmichelson@digium.com>
Thu, 9 Aug 2007 22:03:48 +0000 (22:03 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 9 Aug 2007 22:03:48 +0000 (22:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@78860 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index c1a6a64543a61d8a903c9c355a86e0e8b72d3784..8650e3173c3e05c1d64a2dd9ad5041cd4dd36b18 100644 (file)
@@ -2481,7 +2481,6 @@ static int inboxcount(const char *mailbox_context, int *newmsgs, int *oldmsgs)
        if (oldmsgs)
                *oldmsgs = 0;
 
-       ast_log(LOG_DEBUG, "inboxcount called\n");
        if(option_debug > 2)
                ast_log (LOG_DEBUG,"Mailbox is set to %s\n",mailbox_context);
        /* If no mailbox, return immediately */
@@ -2518,16 +2517,10 @@ static int inboxcount(const char *mailbox_context, int *newmsgs, int *oldmsgs)
        }
        if (newmsgs)
                if((*newmsgs = messagecount(context, mailboxnc, "INBOX")) < 0)
-               {
-                       ast_log(LOG_DEBUG, "messagecount failed somehow...\n");
                        return -1;
-               }
        if (oldmsgs)
                if((*oldmsgs = messagecount(context, mailboxnc, "Old")) < 0)
-               {
-                       ast_log(LOG_DEBUG, "messagecount failed somehow...\n");
                        return -1;
-               }
        return 0;
 }