Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/netgroup.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-01-10 23:50:35 +0100
committerArthur de Jong <arthur@arthurdejong.org>2007-01-10 23:50:35 +0100
commit89cf9758565b2c72a8665dea73cbe247e5862361 (patch)
tree09df4cb3c896a6dd666703e10a94712021521aaf /nslcd/netgroup.c
parent139130fe7f9969bc5e471ab3535c101dc6633ea5 (diff)
write a final result code of NSLCD_RESULT_NOTFOUND for netgroup lookups
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@217 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/netgroup.c')
-rw-r--r--nslcd/netgroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nslcd/netgroup.c b/nslcd/netgroup.c
index 3474bc8..f404bed 100644
--- a/nslcd/netgroup.c
+++ b/nslcd/netgroup.c
@@ -345,6 +345,8 @@ int nslcd_netgroup_byname(FILE *fp)
/* free data */
if (result.data!=NULL)
free(result.data);
+ /* write the final result code */
+ WRITE_INT32(fp,NSLCD_RESULT_NOTFOUND);
/* we're done */
_nss_ldap_enter();
_nss_ldap_ent_context_release(netgroup_context);