summaryrefslogtreecommitdiff
path: root/nslcd
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd')
-rw-r--r--nslcd/netgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/netgroup.c b/nslcd/netgroup.c
index bf78b6a..8f380a8 100644
--- a/nslcd/netgroup.c
+++ b/nslcd/netgroup.c
@@ -186,7 +186,7 @@ static int write_netgroup_triple(TFILE *fp,const char *triple)
}
/* write strings */
WRITE_INT32(fp,NSLCD_RESULT_BEGIN);
- WRITE_INT32(fp,NETGROUP_TYPE_TRIPLE);
+ WRITE_INT32(fp,NSLCD_NETGROUP_TYPE_TRIPLE);
WRITE_STRING_STRIPSPACE_LEN(fp,triple+hostb,hoste-hostb)
WRITE_STRING_STRIPSPACE_LEN(fp,triple+userb,usere-userb)
WRITE_STRING_STRIPSPACE_LEN(fp,triple+domainb,domaine-domainb)
@@ -220,7 +220,7 @@ static int write_netgroup(TFILE *fp,MYLDAP_ENTRY *entry)
/* write the result code */
WRITE_INT32(fp,NSLCD_RESULT_BEGIN);
/* write triple indicator */
- WRITE_INT32(fp,NETGROUP_TYPE_NETGROUP);
+ WRITE_INT32(fp,NSLCD_NETGROUP_TYPE_NETGROUP);
/* write netgroup name */
WRITE_STRING_STRIPSPACE(fp,members[i]);
}