mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
closedir() replacement function should return a result
return success, ignoring result of FindClose
This commit is contained in:
parent
0563d68c47
commit
12b3ad9138
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