[asterisk-commits] jrose: branch 1.8 r364769 -	/branches/1.8/main/app.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue May  1 13:16:32 CDT 2012
    
    
  
Author: jrose
Date: Tue May  1 13:16:27 2012
New Revision: 364769
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=364769
Log:
Fix bad check in voicemail functions for ast_inboxcount2_func
Check looks for ast_inboxcount_func instead of ast_inboxcount2_func on
ast_inboxcount2_func calls.
(closes issue ASTERISK-19718)
Reported by: Corey Farrell
Patches:
	ast_app_inboxcount2-null-refcheck.patch uploaded by Corey Farrell (license 5909)
Modified:
    branches/1.8/main/app.c
Modified: branches/1.8/main/app.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/app.c?view=diff&rev=364769&r1=364768&r2=364769
==============================================================================
--- branches/1.8/main/app.c (original)
+++ branches/1.8/main/app.c Tue May  1 13:16:27 2012
@@ -342,7 +342,7 @@
 	if (urgentmsgs) {
 		*urgentmsgs = 0;
 	}
-	if (ast_inboxcount_func) {
+	if (ast_inboxcount2_func) {
 		return ast_inboxcount2_func(mailbox, urgentmsgs, newmsgs, oldmsgs);
 	}
 
    
    
More information about the asterisk-commits
mailing list