]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/utils.c
Happy New Year
[openldap] / libraries / liblutil / utils.c
index 3de49b970b13ab0f62102aa8c789ab912797ebec..699a1c9b53c82e6f31436c2485463edad52680c1 100644 (file)
@@ -1,7 +1,7 @@
 /* $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
@@ -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