mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 21:04:45 -05:00
closedir() replacement function should return a result
return success, ignoring result of FindClose
This commit is contained in:
parent
a1e3b1cf3c
commit
055996fc2e
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue