From ef891dc0a757697842b6d8153abcb727839ae602 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 23 Dec 2005 06:38:08 +0000 Subject: [PATCH] Bug 6051 - VMCOUNT should work as documented and count all, not quit after finding 1 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7608 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_hasnewvoicemail.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app_hasnewvoicemail.c b/apps/app_hasnewvoicemail.c index 740975dd0d..d5e7664f6f 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);