[asterisk-commits] mmichelson: branch 1.4 r78860 - /branches/1.4/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 9 17:03:49 CDT 2007


Author: mmichelson
Date: Thu Aug  9 17:03:48 2007
New Revision: 78860

URL: http://svn.digium.com/view/asterisk?view=rev&rev=78860
Log:
Removing some extra debug code I left in my last commit


Modified:
    branches/1.4/apps/app_voicemail.c

Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=78860&r1=78859&r2=78860
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Thu Aug  9 17:03:48 2007
@@ -2481,7 +2481,6 @@
 	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 @@
 	}
 	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;
 }
 	




More information about the asterisk-commits mailing list