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
1.4
Mark Michelson 19 years ago
parent fd5f948092
commit 48d9158cdd

@ -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;
}

Loading…
Cancel
Save