Skip to content
Snippets Groups Projects
Commit 12b3ad91 authored by Kurt Zeilenga's avatar Kurt Zeilenga Committed by Quanah Gibson-Mount
Browse files

closedir() replacement function should return a result

return success, ignoring result of FindClose
parent 0563d68c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment