closedir() replacement function should return a result

return success, ignoring result of FindClose
This commit is contained in:
Kurt Zeilenga 2014-10-10 12:15:48 -07:00 committed by Kurt Zeilenga
parent a1e3b1cf3c
commit 055996fc2e

View File

@ -437,8 +437,9 @@ struct dirent *readdir(DIR *dir)
}
int closedir(DIR *dir)
{
FindClose(dir->dir);
(void) FindClose(dir->dir);
ber_memfree(dir);
return 0;
}
#endif