aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-09 22:03:48 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-09 22:03:48 +0000
commit3dc241f123d984be5b31795c8615bdf953617c01 (patch)
tree96688ea6ea86afc0276b1c80412c0fc43a76d1b5
parentace307558c9d898b022f32ba4ec5b662118c936d (diff)
Removing some extra debug code I left in my last commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@78860 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index c1a6a6454..8650e3173 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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;
}