From 63a3783c05732d89c4faa1f4519d7e83f26e2a5a Mon Sep 17 00:00:00 2001 From: Arthur de Jong <arthur@arthurdejong.org> Date: Sun, 19 Apr 2009 13:51:47 +0000 Subject: 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 --- nslcd/netgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nslcd/netgroup.c') 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 */ -- cgit v1.2.3