Ticket #127 also affects iso_dir_iter_take(). Fixed.

This commit is contained in:
Vreixo Formoso
2008-03-01 16:16:12 +01:00
parent b9331ba5c1
commit 241a7295ba
2 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ int iso_dir_iter_take(IsoDirIter *iter)
if (iter->pos == pos) {
return ISO_ERROR;
}
while (pos != NULL && pos->next == iter->pos) {
while (pos != NULL && pos->next != iter->pos) {
pos = pos->next;
}
if (pos == NULL) {