mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Removing some extra debug code I left in my last commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@78860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user