From 678447e2d0fca85d2879bb94a68fda191f26f2dc Mon Sep 17 00:00:00 2001 From: tilghman Date: Fri, 23 Dec 2005 06:38:08 +0000 Subject: Bug 6051 - VMCOUNT should work as documented and count all, not quit after finding 1 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7608 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_hasnewvoicemail.c | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/app_hasnewvoicemail.c') diff --git a/apps/app_hasnewvoicemail.c b/apps/app_hasnewvoicemail.c index 740975dd0..d5e7664f6 100644 --- a/apps/app_hasnewvoicemail.c +++ b/apps/app_hasnewvoicemail.c @@ -90,7 +90,6 @@ static int hasvoicemail_internal(char *context, char *box, char *folder) while ((vment = readdir(vmdir))) { if (!strncmp(vment->d_name + 7, ".txt", 4)) { count++; - break; } } closedir(vmdir); -- cgit v1.2.3