Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/hosts.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-10-04 22:27:57 +0200
committerArthur de Jong <arthur@arthurdejong.org>2010-10-04 22:27:57 +0200
commitd5c07d9403bc42f08de10331979a73f2db399b59 (patch)
treed4be106bf36e52c0ff2ee11132f5accbc5cb2180 /nss/hosts.c
parent6a2c600499039036b1fa0efcd45747b21308375c (diff)
parent24fae4c5df0c5152891893ab677edb4a9b497d11 (diff)
merge changes from trunk
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1242 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/hosts.c')
-rw-r--r--nss/hosts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/hosts.c b/nss/hosts.c
index 79d7579..b07e56e 100644
--- a/nss/hosts.c
+++ b/nss/hosts.c
@@ -33,7 +33,7 @@
#include "common.h"
#include "compat/attrs.h"
-/* Redifine some ERROR_OUT macros as we also want to set h_errnop. */
+/* Redefine some ERROR_OUT macros as we also want to set h_errnop. */
#undef ERROR_OUT_OPENERROR
#define ERROR_OUT_OPENERROR \
@@ -235,6 +235,7 @@ nss_status_t _nss_ldap_gethostent_r(
return retv;
}
+/* close the stream opened with sethostent() above */
nss_status_t _nss_ldap_endhostent(void)
{
NSS_ENDENT(hostentfp);