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
This commit is contained in:
Tilghman Lesher
2005-12-23 06:38:08 +00:00
parent 3ebe29c983
commit ef891dc0a7

View File

@@ -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);