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
1.2-netsec
Tilghman Lesher 21 years ago
parent 3ebe29c983
commit ef891dc0a7

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

Loading…
Cancel
Save