Fixed infinite loop bug, cleaned out tab chars.

This commit is contained in:
Ryan C. Gordon 2002-08-30 14:30:49 +00:00
parent b28af63f2f
commit ee077eabec
1 changed files with 24 additions and 22 deletions

View File

@ -579,7 +579,9 @@ static ZIPentry *zip_find_entry(ZIPinfo *info, const char *path, int *isDir)
if (thispath[pathlen] == '\0') /* found entry? */
return(&a[middle]);
} /* else */
else
hi = middle - 1; /* adjust search params, try again. */
} /* if */
} /* while */
if (isDir != NULL)