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>2009-04-19 15:51:47 +0200
committerArthur de Jong <arthur@arthurdejong.org>2009-04-19 15:51:47 +0200
commit63a3783c05732d89c4faa1f4519d7e83f26e2a5a (patch)
treec67eb29fdae08d53a98b664dbb98b748685022c9 /nslcd/netgroup.c
parent57b29d91d65182378507e9d5362a1618ee235e38 (diff)
clear up protocol description in nslcd.h, renaming NSLCD_RESULT_SUCCESS to NSLCD_RESULT_BEGIN
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@834 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/netgroup.c')
-rw-r--r--nslcd/netgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/netgroup.c b/nslcd/netgroup.c
index 64dbb3b..bf78b6a 100644
--- a/nslcd/netgroup.c
+++ b/nslcd/netgroup.c
@@ -185,7 +185,7 @@ static int write_netgroup_triple(TFILE *fp,const char *triple)
return 0;
}
/* write strings */
- WRITE_INT32(fp,NSLCD_RESULT_SUCCESS);
+ WRITE_INT32(fp,NSLCD_RESULT_BEGIN);
WRITE_INT32(fp,NETGROUP_TYPE_TRIPLE);
WRITE_STRING_STRIPSPACE_LEN(fp,triple+hostb,hoste-hostb)
WRITE_STRING_STRIPSPACE_LEN(fp,triple+userb,usere-userb)
@@ -218,7 +218,7 @@ static int write_netgroup(TFILE *fp,MYLDAP_ENTRY *entry)
for (i=0;members[i]!=NULL;i++)
{
/* write the result code */
- WRITE_INT32(fp,NSLCD_RESULT_SUCCESS);
+ WRITE_INT32(fp,NSLCD_RESULT_BEGIN);
/* write triple indicator */
WRITE_INT32(fp,NETGROUP_TYPE_NETGROUP);
/* write netgroup name */