/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2018 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
}
int closedir(DIR *dir)
{
- FindClose(dir->dir);
+ (void) FindClose(dir->dir);
ber_memfree(dir);
+ return 0;
}
#endif