[asterisk-commits] branch 1.2 - r7608 /branches/1.2/apps/app_hasnewvoicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Dec 23 00:38:09 CST 2005


Author: tilghman
Date: Fri Dec 23 00:38:08 2005
New Revision: 7608

URL: http://svn.digium.com/view/asterisk?rev=7608&view=rev
Log:
Bug 6051 - VMCOUNT should work as documented and count all, not quit after finding 1

Modified:
    branches/1.2/apps/app_hasnewvoicemail.c

Modified: branches/1.2/apps/app_hasnewvoicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_hasnewvoicemail.c?rev=7608&r1=7607&r2=7608&view=diff
==============================================================================
--- branches/1.2/apps/app_hasnewvoicemail.c (original)
+++ branches/1.2/apps/app_hasnewvoicemail.c Fri Dec 23 00:38:08 2005
@@ -90,7 +90,6 @@
 		while ((vment = readdir(vmdir))) {
 			if (!strncmp(vment->d_name + 7, ".txt", 4)) {
 				count++;
-				break;
 			}
 		}
 		closedir(vmdir);



More information about the asterisk-commits mailing list